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
- Change the port number of one of the instances.
- Run one instance on a second network interface (i.e. a different IP address).
- 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.
精彩评论