MySQL Forums
Forum List  »  Install & Repo

second instance installation
Posted by: Tom Clancy
Date: May 06, 2011 01:11PM

Hi All ,

I am trying to install a second instance on a server where a first instance is installed as rpm package

installed first instance = 5.1
second instance needed = 5.6 (need it for delayed replication,mk-slave-delay may help but prefer the delay from server side)
OS = solaris sparc 10

so to install second instance i gave all diff paths in a my2.cnf file

port = 3307
socket = /path/mysql2/mysql.sock

"/path/" will be common for both instances

so for second instance i am using a TAR file this time but not rpm package.
with the cnf file when i run this command

/base_path/scripts/mysql_install_db --datadir=/path/mysql2 --user=mysql --defaults-file=/etc/my2.cnf

am I doing it right ? because when i try to start the second instance

/base_path/bin/mysqld_safe --user=mysql &

i am running into same mysqld and the second instance is not starting

can any one tell me where i am wrong or exact steps to do this


Options: ReplyQuote

Written By
second instance installation
May 06, 2011 01:11PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.