开发者_JS百科
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionIs it possible to have a web server (Apache for instance) on a linux machine connecting to a backgroun database server (MySql) on a windows machine?
I don't think that would be a problem. The connections are usually set up with the combination of Address(IP), User and Password. The syntax should not change between the platforms.
Edit: spelling
Since the communication MySQL protocol (which is platform-neutral) goes over TCP/IP (likewise platform-neutral), the OS of the web server and of the MySQL server is irrelevant.
Usual concerns apply - e.g. by default, a MySQL server only accepts connections from the same computer, and needs to be configured to accept connections from the other server; also, both servers should be as close to each other as possible (topologically), as to reduce communication latency.
精彩评论