1

Hi I have mysql 5.0 and going to install mysql 5.5 Can i use the same port 3306 for the both versions of mysql? Will it create any problems?

4

3 回答 3

3

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.

于 2010-12-29T13:49:13.503 回答
1

Yes you can, on different ip's.

于 2010-12-29T13:44:51.073 回答
1

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.

于 2010-12-29T13:46:10.540 回答