While accessing PHPmyadmin in cpanel, you are getting following error

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

Solution is:

1)  Login to the server using root user

2) check the permission of the following 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 using following commands.

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

That is it, you are all done. Cheers.

Leave a Reply

You must be logged in to post a comment.