You are not logged in.
Hello, I installed mysql with pacman but cannot figure out how to run it!
Running mysql_secure_installation give me this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)/etc/rc.d/mysqld start just say FAIL
/var/lib/mysql and all files there are owned by mysql, mysql
Can anyone please help me! ![]()
Last edited by CheatCat (2010-06-24 19:29:33)
Offline
looks like mysql isnt running, check /etc/mysql/my..cnf to check if any settings needs to be altered. also, it might be that the file <hostname>.pid exists in /var/lib/mysql , if there is then you should remve it and then try starting mysql.
Offline
I think I solved it by just runnig this:
sudo /etc/rc.d/mysqld start
Forgotted sudo before, clever..
Last edited by CheatCat (2010-06-24 19:29:13)
Offline