tags:

views:

144

answers:

1

Can we run multiple MySQL servers on a single machine?

Thanks.

+8  A: 

Yes, you just need to run them on separate ports and point them at different lib directories for their data.

Here's a good reference: http://dev.mysql.com/doc/refman/5.1/en/mutiple-servers.html

(If you want to use this for testing, I suggest checking out MySQL Sandbox @ https://launchpad.net/mysql-sandbox)

Jeremy Stanley