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

2008-07-11 Thread Тарас
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) I had read something about it, but don't find what can help me! С уважением. Тар

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 secon

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