Solved phpMyAdmin - Error not readable

waragham

Verified User
Joined
Mar 16, 2022
Messages
14
Hello, I have an issue with DirectAdmin access for all of my DirectAdmin users. When accessing the phpMyAdmin feature, it displays an error message like this:

phpMyAdmin - Error
Existing configuration file (/var/www/html/phpMyAdmin-5.2.1-4gsp/config.inc.php) is not readable.

How can I fix this so that all users can access phpMyAdmin and view their own databases?

I’m afraid that if I set permissions incorrectly, users who shouldn’t have access may be able to view other users' databases.

Thank you.
 

Attachments

  • Screenshot_380.png
    Screenshot_380.png
    12.8 KB · Views: 15
How can I fix this so that all users can access phpMyAdmin and view their own databases?
You could try the permissions script of DA via SSH as root:
Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh all

That config.inc.php should be like this afterwards permission/owner wise:
-r--r----- 1 webapps webapps 5.2K 2024-08-09 03:13 config.inc.php
 
thank you very much , its works now :)
You could try the permissions script of DA via SSH as root:
Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh all

That config.inc.php should be like this afterwards permission/owner wise:
-r--r----- 1 webapps webapps 5.2K 2024-08-09 03:13 config.inc.php
 
Back
Top