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

Accessing PhpMyAdmin from cpanel I get error

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

FIX:

1) Ssh to server as root

2) check permission for file

root@Server[~]#ls -ld /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

It should be

-rw-r—– 1 root cpanelphpmyadmin 1749 Oct 11 23:06 /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

3)If not then change ownership and file permission to above.

chown root:cpanelphpmyadmin  /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

chmod 640 /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

4) That’s it, you are all done.


contact@webhostingsupport.info

Post to Twitter

2 Responses to PHPMyAdmin :: Existing configuration file (./config.inc.php) is not readable

  1. Kiran Aher says:

    Hi

    It’s a great BLOG !

    Thank you for the solution. I tried above all, but it was still giving same error so I set permission as : 644 and that worked. !

    chmod 644 /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

    Cheers !

    webtechnicist.com

  2. admin says:

    Hi Kiran,

    Thanks for sharing 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *