It looks like you're new here. If you want to get involved, click one of these buttons!
[root@website mysqld]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
The socket file doesn't exist, and when trying to start MySQL, I receive "MySQL Daemon cannot start".
Any idea why? I've tried removing/reinstalling MySQL but still getting that.
Comments
Do you have MySQL SERVER installed?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksYes. mysql-server is installed
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksTry to start mysqld manually (just type mysqld), it should either start or give you a reason why it won't start. Or look at your logs
- Spam
- Abuse
- Troll
0 • Disagree Agree Thankstry
if not, change mysql for mysql or mysql-server
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks[root@website mysqld]# mysqld -bash: mysqld: command not found
[root@website mysqld]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks[root@website mysqld]# service mysqld start MySQL Daemon failed to start. Starting mysqld: [FAILED]
- Spam
- Abuse
- Troll
0 • Disagree Agree Thankslook in it's log, it usually says what was wrong. M
- Spam
- Abuse
- Troll
0 • Disagree Agree Thankscheck the mysql logs, in /var/log
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksThanks, can be closed now..
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksLOL? So what was the flaw???
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksxkcd.com/979/
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksWell, there are guys eating the meal without paying afterwards. And there are guys asking for help and others free time and not saying thanks and telling what helped to solve the situation.
"Kids, you tried your best and failed miserably. The lesson learned is: never try."
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksHahaha! Wonderful...
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksIt's pretty rude to simply say 'it's fixed', and not elaborate on what the issue was.
Appreciate my posts/software/guides? Donate (PayPal/Flattr/Bitcoin): http://cryto.net/~joepie91/donate.html | irc.freenode.net #lowendbox
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksAlright, alright sorry. Was an incompatibility issue, on my part.
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksas?
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks