I installed phpMyAdmin in my server when i tried to open it in the browser i'm getting the following error. i have modified the config file for the host, user, password. Any help would be appreciated.
Welcome to phpMyAdmin 2.5.5-pl1
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/auth/config.auth.lib.php:96) in /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/header_http.inc.php on line 14
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/auth/config.auth.lib.php:96) in /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/header_http.inc.php on line 15
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/auth/config.auth.lib.php:96) in /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/header_http.inc.php on line 16
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/auth/config.auth.lib.php:96) in /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/header_http.inc.php on line 17
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/auth/config.auth.lib.php:96) in /var/www/html/phpMyAdmin-2.5.5-pl1/libraries/header_http.inc.php on line 20
Server localhost
Error
MySQL said:
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[Documentation]