Dana,

What I did, to set up a second MySQL on our Linux box, compiled the second copy
from source, which gives you a lot more control on how MySQL is installed. then
created a my.cnf file with all the relavent settings for the second server, port
and socket, pid ...etc..  then put this in the datadir folder. Then when I start
up the second server i simple do:

safe_mysqld --defaults-file=/path/to/datadir/my.cnf &

then it starts up the second serve without any problems.

We are current running two separate servers. 3.23.40 and 3.23.44 and it's been
working fine for about a month now. :)


>On Thu, 22 Nov 2001 10:38:56 -0600, Dana Sharvit <[EMAIL PROTECTED]>   
>wrote:

>>Hello,
>>As you probably know mysql comes installed in Linux 7.1 as default.
>>I installed my own mysql server in a different location in the file system,
>>In safe_mysqld I indicated the path in which I want the mysql.sock to be
>>created in but when I start my mysql server I get an error message:
>>Can't start server : Bind on unix socket: No such file or direc
>>tory
>>011116  9:56:26  Do you already have another mysqld server running on
>>socket: /v
>>ar/lib/mysql/mysql.sock ?
>>011116  9:56:26  Aborting
>>
>>the default mysql server on Linux 7.1 is not running but even though I can
>>not run my own mysql server.
>>In order to solve this I created a symbolic link between
>>/var/lib/mysql/mysql.sock to the path of my mysql server and that works fine
>>but I am looking for a better solution - does some one have an idea?
>>
>>Thanks
>>Dana
>>
>>---------------------------------------------------------------------
>>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

Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(225)686-2002
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


---------------------------------------------------------------------
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