ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib

Started by johnny09, June 03, 2016, 09:46:00 AM

Previous topic - Next topic

johnny09

Installed fresh centos on a virtual mashine, updated, started to install cwp, after some time i get

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
MySQL root password is invalid!!!
Check password and run this script again.

How to fix it?
The password is Blank or what???

Sandeep

reset the mysql password
through ssh you can do it by this commands :

cd /usr/local/cwpsrv/htdocs/resources/scripts
sh mysql_pwd_reset