Home Articles Details

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")


Mysql on Ubunt Linux 18.04:  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")

 

Solution: sudo service mysql start to start your database Server


If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Josh said:

Thanks

Posted On: December 08, 2019 14:05:45 PM

© 2023 - ErnesTech LLC- Privacy