ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/ mysql.sock ‘ (111)
Troubleshooting:
1. Start the service: Service mysqld status 2. Open the port: lsof – I: 3306 3. Determine the correct location of the “socket” file: lsof – C mysqld | grep socket $ find/- name “*. Socket” td> TR> tbody> Table> |