Can't connect to local MySQL server through
socket '/tmp/mysql.sock
Steve Bertrand
steve at ibctech.ca
Fri Jul 11 13:58:07 UTC 2008
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
More information about the freebsd-questions
mailing list