Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock

2008-07-11 Thread Mel
On Friday 11 July 2008 15:46:25 Тарас wrote: > Hi! I need two MySQL servers run simultaneously. Why? > But when I try to run > server I have > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) Use jails if you have really need to, or start each of

Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock

2008-07-11 Thread Steve Bertrand
Steve Bertrand wrote: Òàðàñ wrote: Hi! I need two MySQL servers run simultaneously. But when I try to run server I have and then, I believe if you add this to your /etc/my.cnf file: [mysqld] socket=/tmp/mysql.sock2 ...after thinking about it, this would likely cause both daemons to use

Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock

2008-07-11 Thread Steve Bertrand
Òàðàñ wrote: Hi! I need two MySQL servers run simultaneously. But when I try to run server I have ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Does this happen when you try to start the first instance, or starting the second instance when you