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

Mel fbsd.questions at rachie.is-a-geek.net
Fri Jul 11 14:08:44 UTC 2008


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 them with different 
configuration file, so that you can change:
- socket
- listen address/networking
- data directory
- log directory
- possibly something I"m forgetting
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list