(Mac users) The best way is to go to the MySQL config in your app and find out where the socket is saved inside the app socket = {$path}/apps/mysql/var/mysql.sock $path = application path
delete the file name mysql.sock.lock and restart MySQL and that is it.