if you don’t specify the socket path, php 5.5 will use /tmp/mysql.sock.
Update my.cnf to:
pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
Linux, Windows, Software Tips, Articles and Hacks
if you don’t specify the socket path, php 5.5 will use /tmp/mysql.sock.
Update my.cnf to:
pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock