Date: Fri, 11 Jul 2008 09:58:12 -0400 From: Steve Bertrand <steve@ibctech.ca> To: =?ISO-8859-1?Q?=D2=E0=F0=E0=F1?= <Golub_Taras@i.ua> Cc: freebsd-questions@freebsd.org Subject: Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock Message-ID: <487766F4.1020901@ibctech.ca> In-Reply-To: <48776604.4070403@ibctech.ca> References: <E1KHIx7-0003YC-MD@web06.mi6.kiev.ua> <48776604.4070403@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 the new socket file. Perhaps a better approach would be to start mysqld with the --socket=/tmp/mysql.sock2 argument, leaving /etc/my.cnf as is. Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487766F4.1020901>