TechHelp
Developers
MySQL - ERROR 2002 (HY000): Can't connect to local MySQL server through socket | BackTrack 5
mysql -u root -p
****
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
mkdir /var/run/mysqld
touch /var/run/mysqld/mysqld.sock
chown -R mysql /var/run/mysqld
/etc/init.d/mysql restart
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)