On Wed, Feb 14, 2001 at 07:15:16PM +0800, Neo Sok Lay wrote:
> Hi,
> 
>    I need to start 2 mysql server processes on the same box (Redhat Linux
> release 6.2), using the following 2 commands:
> 
>     bin/safe_mysqld -u root --socket=/tmp/test1.sock --port=9000 &
> 
>    and
> 
>     bin/safe_mysqld -u root --socket=/tmp/test2.sock --port=9020 &
> 
> 
>    Previously I was using mysql 3.23.27 beta and it works fine.
> 
>    Now I'm switching over to the newer version 3.23.32, and I am not able to
> start the second process any more.
>    The second command keeps giving me "A mysqld process already exists"
> message.
> 
>    Is there any special setting that I need to make to solve the problem?.
> 

Usually you would start the second mysqld using another data directory.
safe_mysqld places a .pid file in its data (.../var) directory which it
checks for when starting again. If you have separate data directories,
each will contain one .pid file and it works fine.

Fred.

-- 
Fred van Engen                              XO Communications B.V.
email: [EMAIL PROTECTED]             Televisieweg 2
tel: +31 36 5462400                         1322 AC  Almere
fax: +31 36 5462424                         The Netherlands

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to