Hi, I'm now trying to run the second MySQL with: # ./mysqld_safe --port=3307 --socket=/usr/local/mysql-5.0.27/share/mysql.sock2 --pid-file=/tmp/mysql.sock2 --datadir=/usr/local/mysql-5.0.27/var/
but i get: "Starting mysqld daemon with databases from /usr/local/mysql-5.0.27/var/ STOPPING server from pid file /usr/local/mysql-5.0.27/share/mysql.sock2 061102 10:54:03 mysqld ended" Any ideas ? Best Regards, Mário Gamito On 11/2/06, Nico Sabbi <[EMAIL PROTECTED]> wrote:
Mário Gamito wrote: > Hi, > > I have a 3.23 MySQL running in a server and i want to install 5.0.27 > > I made > > # ./configure --prefix=/usr/local/mysql-5.0.27 --with-tcp-port=3307 > # make > # make install > > and then > > # scripts/mysql_install_db --datadir=/usr/local/mysql-5.0.27/var > # ./mysqld_safe --datadir=/usr/local/mysql-5.0.27/var/ & > > But here, i get the error "A mysqld process already exists" > > How can i have the two MySQL running in the same machine ? > > Any help would be appreciated. > > Warm Regards, > MG > mysqld_multi works pretty well. It's documented in www.mysql.com/doc. mysqld_multi --example shows a sample config file