Skip to main content
MySQL problems

where error of "can't connect to Local MSQL server through socket ' var/run/msqld/mysqld.sock'(2)" is shown

Ian avatar
Written by Ian
Updated over 4 years ago
This error will be shown if the MySQL service isn't started.

This message can be shown when the MySQL service hasn't started.
You can check this by running

sudo service mysql status

If it isn't running you will see

mysql stop/waiting

If it is you will see

mysql start/running, process xxxx

The service can be restarted by running

sudo service mysql start

Alternatively, go to Project>Restart Box to restart the Box.

This operation reboots the Box, which usually takes a few seconds.

Did this answer your question?