MySQL: “Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (38)”

To fix it, try the following:

1. In the terminal, run ‘touch /tmp/mysql.sock’.

2. Restart mysql.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.