New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

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