Can't connect to local MySQL server through socket '/tmp/mysql.sock
If you get this error message:
/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
Run the following commands:
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
/scripts/mysqlup --force
Social Media Responsibility
12 years ago
No comments:
Post a Comment