Forum Thread: SQL PROBLEM

SQL PROBLEM

I am having a problem with mysql socket

when i try to connect to mysql database it says: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

HAS ANYONE HAD THE SAME PROBLEM AND CAN YOU HELP ME

1 Response

If you are using kali type:
service mysql start
mysql -u root -p
(it will ask for password, just press enter and you should be inside mysql, since kali dont have default password)
Good luck

Share Your Thoughts

  • Hot
  • Active