I get a can't connect through this socket once per day.
Is this datadir correct?:
[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock
Aborted connection 1270592 to db: 'leechprotect' user: 'leechprotect' host: 'localhost' (Got timeout reading communication packets)
PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in wp-includes/wp-db.php on line 1037
QUESTION: How to change the sql connect from "localhost" to 127.0.0.1 as recommended by many people online. Do I have to do that via bind-address?