bjindal
June 24th, 2009, 08:33 AM
hi
I installed Xampp on ubuntu. Everything works fine but i am not able to open console for mysql.
I did the following to open the console for Mysql which has no password.
bhavana@bhavana-desktop:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
bhavana@bhavana-desktop:~$
Why is this happening?Plz give a solution.
Plz help me.
Thanks in advance.
Bhavana
I installed Xampp on ubuntu. Everything works fine but i am not able to open console for mysql.
I did the following to open the console for Mysql which has no password.
bhavana@bhavana-desktop:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
bhavana@bhavana-desktop:~$
Why is this happening?Plz give a solution.
Plz help me.
Thanks in advance.
Bhavana