hi can antbody tell what was error when i am log in mysql server mysql -u root -p
password:xxxxxxx
(ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2))
Printable View
hi can antbody tell what was error when i am log in mysql server mysql -u root -p
password:xxxxxxx
(ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2))
mysql server running ? Can you try restarting it. Whats your distro ?
Did you try 'service' or 'sevice' ?
Quote:
-bash: sevice: command not found
sorry its service
now i restart the service it is successful
now i am getting a new error
mysql -u root -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Did you know the root password for mysql ? Is this your first attempt to run/connect to db ? If so run
first then proceed.Quote:
mysql_secure_installation
now its working