Try this procedure to fix mysql.sock error: Cpanel
cd /var/lib/mysql
touch mysql.sock
chown mysql:mysql mysql.sock
chmod 1777 mysql.sock
now make a sym link into /tmp
ln -s /var/lib/mysql/mysql.sock /tmp
then
chmod 1777 /tmp
now
/scripts/mysqlup --force
now just restart mysql
/etc/rc.d/init.d/mysql restart
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment