开发者

can two mysql version can share same port number?

Hi I have mysql 5.0 and going to install mysql 5.5 Can i use the sam开发者_Go百科e port 3306 for the both versions of mysql? Will it create any problems?


Two services cannot listen on the same IP address and Port concurrently.

You have to either

  1. Change the port number of one of the instances.
  2. Run one instance on a second network interface (i.e. a different IP address).
  3. Do not run them concurrently.

This is not due to any Mysql version restrictions. Its just a port cannot be taken by more than one application to listen on, on the same network address.


Yes you can, on different ip's.


Two running servers cannot share the same port on the same computer.

But if you only ever start exactly one of the servers then it shouldn't be a problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜