To find all socket files on your system run: sudo find / -type s My Mysql server system had the socket open at /var/lib/mysql/mysql.sock Once you find where the socket is being opened, add or edit the line to your /etc/my.cnf file with the path to the socket file: socket=/var/lib/mysql/mysql.sock Sometimes the system startup script […]