Shut the iron doors on the past and the future.

Live in Day-tight Compartments.

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

clientのソケットファイルを見に行くパスをサーバのものと合わせるべし

/etc/my.cnfに

[client]
socket=/var/lib/mysql/mysql.sock