views:

86

answers:

1

I installed the lampp sever on my local in linux OS, but its giving error while opening phpmyadmin.

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
A: 

check if MySQL is running with this command

mysqladmin -u root -p status

if it is running it will ask for your password otherwise it will spit out an error

Flakron Bytyqi
yes,it asking for password ,I have to enter mysqlpassword. but I didnt assign any password,when I enter its giving errorconnect to server at localhost failed.
Deepali
did you set a password when you installed mysql?
Flakron Bytyqi
no I didnt assign a pwd,can't connect to localmysql sever through socket
Deepali
set a password thenmysql -u rootSET PASSWORD FOR 'root'@'localhost' = PASSWORD('your_new_password');
Flakron Bytyqi
after enterting pwd its giviing following error:mysqladmin: connect to server at 'localhost' failederror: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
Deepali
which linux distro are you using?
Flakron Bytyqi