04/28: MySQL > Linux/Unix Mysql Socket connection
Category: Web dev
Posted by: hajime osako
Solve: Can't connect to local MySQL server through socket /tmp/mysql.sock
Check where is mysql.sock. Modify my.cnf (maybe /etc/my.cnf) Add: [client] socket=path to mysql.sock