MySQL Forums
Forum List  »  Install & Repo

Re: Installing MySQL 5 alongside with MySQL 4.
Posted by: Göran Törnqvist
Date: October 27, 2005 06:16AM

I added --log-error=/var/log/mysqld5.log to the start script.
Tried again and then saw:

051027 13:52:51 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
051027 13:52:51 [ERROR] Do you already have another mysqld server running on port: 3306 ?
051027 13:52:51 [ERROR] Aborting

Even though I have port=3305
in /etc/my5.cnf ...looks like it doesnt use this cnf file for some reason.

I think its the start script mysql.server that doesnt handle this correctly...it uses the same /etc/my.cnf as 4.1 ...not my /etc/my5.cnf file...
I also changed all occurrences of /etc/my.cnf in mysql.server to /etc/my5.cnf

Whyen adding --port=3305 to the mysqld_safe command line in mysql.server script works fine...but it still doesnt use my /etc/my5.cnf file

Any idea why?

PS: I have one mysqld.sh for 4.1 and one mysqld5.sh for 5.0
Its the mysql.server script...

Options: ReplyQuote


Subject
Written By
Posted
Re: Installing MySQL 5 alongside with MySQL 4.
October 27, 2005 06:16AM


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.