Phpmyadmin Error : Existing configuration file (./config.inc.php) is not readable

You will get this error while accessing PhpMyAdmin from cpanel
Error : PHPMyAdmin :: Existing configuration file (./config.inc.php) is not readable
Solution:
Step 1. Ssh to server as root
Step 2. check permission for file

root@host [~]# ls -ld /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
It should be
-rw-r–r– 1 root cpanelphpmyadmin 4576 Aug 23 00:41 /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

Step 3. If it is not like above then change ownership and file permission to above.

root@host [~]# chown root:cpanelphpmyadmin /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
root@host [~]# chmod 640 /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

Issue Fixed!! Now you will not get this error.


Vote this Post:
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

 

RELATED POSTS