MySQL Forums
Forum List  »  Replication

Trouble with two Mysql Process.
Posted by: swoke
Date: March 22, 2006 11:34AM

Hello...

I'm running GNU/Linux Gentoo...

I've set two differents mysql process with two different my.cnf...

(mysql 4.1.12)

/etc/init.d/mysql -> /etc/mysql/my.cnf
/etc/init.d/mysql_bis -> /etc/mysql/my_bis.cnf

Each process got a different path for lib and databases...

The first one is configured as a slave, and work perfectly... (from a 3.x master).

The second one is supposed to be independant server, running another database, and not configured as a slave...

BUT !

When I try to access it via socket (mysql -S /var/run/mysqld/mysqld_bis.sock), my server is configured as a slave...

Even if there's nothing at all about slave in conf file...

Anyone got an idea ?

PS : When I run a 'ps fax', I got two different process, with right path to data for each...

7373 ? Ss 0:00 /bin/sh /usr/bin/mysqld_safe
7411 ? Sl 0:40 \_ /usr/sbin/mysqld --basedir=/usr --datadir=/mnt/test1 --user=root --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
7750 ? Ss 0:00 /bin/sh /usr/bin/mysqld_safe_arch
7788 ? Sl 0:00 \_ /usr/sbin/mysqld --basedir=/usr --datadir=/mnt/test2 --user=mysql --pid-file=/var/run/mysqld/mysqld_arch.pid --skip-locking --port=3307 --socket=/var/run/mysqld/mysqld_arch.sock


I'm lost...

Options: ReplyQuote


Subject
Views
Written By
Posted
Trouble with two Mysql Process.
2712
March 22, 2006 11:34AM
1321
March 23, 2006 06:48AM
1451
March 23, 2006 06:57AM
1499
March 23, 2006 07:00AM
1320
March 23, 2006 07:27AM


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.