Activities

July 2010
M T W T F S S
« Jun   Aug »
 1234
567891011
12131415161718
19202122232425
262728293031  

PMA : The server is not responding (or local MySQL server’s socket is not correctly configured

The server is not responding (or local MySQL server’s socket is not correctly configured

I got PhpMyAdmin error during the login time. I used custom “my.cf” for pointing the Data directory and socket path to listing.

[mysqld]
datadir= /home/MYSQL/
socket= “/home/MYSQL/mysql.sock”
max_connections = 500

After that I have edited the conf.inc.php file inside the phpmyadmin folder. Ensure that following variable are difined on the config. file,

$cfg['Servers'][$i]['host'] = '192.168.20.213'; changed localhost to my server ip
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['socket'] = '/home/MYSQL/mysql.sock'; modified  custom mysql socket file

After that it’s work normally.

cheers

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>