Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 897  / 2 Years ago, fri, october 28, 2022, 5:57:34

MySQL Server does not start up on ubuntu 12. When I run the status command, the following message is displayed:



ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)



Any suggestions to fix this issue (and hopefully avoid this going forward) will be welcome.



Edit: The process is not running - I forgot to mention that in the post. Should I go about changing the mysql.cnf file to point to a different location for the socket location (or perhaps add a link to it)?


More From » 12.04

 Answers
4

I ended up re-installing ubuntu and mysql in order to fix the issue. I will update the post if I come across the same issue and can come up with a better solution.


[#33747] Sunday, October 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kneducator

Total Points: 226
Total Questions: 111
Total Answers: 108

Location: Mexico
Member since Sun, Jul 25, 2021
3 Years ago
;