Knowledgebase
Missing Mysql.sock Not Found in tmp
Posted by Will Kruss on 27 May 2016 05:57 PM
|
|
Learn what to do if MySql.sock file is missing. A self learning guidelines for any learners. Some programs require mysql.sock to be located at /tmp/mysql.sock However, cPanel setups and some others now put the mysql.sock file into /var/lib/mysql Therefore, you can create a symlink so that /tmp/mysql.sock points to /var/lib/mysql.sock To do this, login to your VPS via SSH Type: ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock | |
|