Where does cPanel/WHM store its associations between users and their MySQL databases? I can't seem to find anything in /home/$USER, or /var/cpanel, or /etc/..
|
feedback
|
|
In the newer cPanel versions, cPanel stores this config in /var/cpanel/databases/username.yml file. | |||
|
feedback
|
|
Last time I was unfortunate enough to use cPanel, it just looked for any databases that matched | |||
|
feedback
|
|
In the mysql database, there is a table called "db". In this table, it shows which users have which accesses to which DBs. This is most probably where WHM stores the actual ACLs that allow user1 access to his DB, and his DB only. Or, are you asking where it stores the properties of "which DBs to show in the control panel for this user"? If so, that may be best posed to the CPanel user list. I think that is in the CPanel database somewhere. | |||||
feedback
|