PHPMyAdmin: Existing configuration file (./ is not readable

While trying to access phpmyadmin on WHM if you get following error:

[wpfmb type=’error’ theme=2]Existing configuration file (./ is not readable.[/wpfmb]

Do the following steps to resolve:

Login to the server as root.

Go to the directory /usr/local/cpanel/base/3rdparty/phpMyAdmin.

cd /usr/local/cpanel/base/3rdparty/phpMyAdmin

Check the ownership of the file Check if the ownership of the file is assigned to root:cpanelphpmyadmin.

If the ownership is not correc set it to root:cpanelphpmyadmin.

chown root:cpanelphpmyadmin

Just restart the cpanel and mysql service on the server.

/scripts/restartsrv cpanel

/scripts/restartsrv mysql

That’s it.