开发者

Apache on Linux, MySql on Windows [closed]

开发者 https://www.devze.com 2023-03-27 01:03 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_JS百科 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.
开发者_JS百科

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

Is 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消