Thursday, July 29, 2010

Multiple mysql instances

I have been trying a couple of hours today to sort out the multiple instances of Mysql running in the same box of linux.

According to mysql website only a copy of binaries is required. Today I manage to launch the instances listening in different port and socket file. Importantly you need to specify a different data directory.

Run mysql_db_install --user=mysql --datadir=/xxxx

No comments: