• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

New DB users lack SHOW DATABASES privilege

J

jujuthing

Guest
Hi,
Whenever I add a new DB user via the plesk panel, the new user does not have the required privelege to show databases.
I have to login to the server and manually fix the problem:
mysql> use mysql;
mysql> update user set Show_db_priv = 'Y' where user like 'bla%';
mysql> alter table user modify Show_db_priv enum('N','Y') default 'Y';
mysql> flush privileges;
mysql> exit;
Is there any way i can fix this so that the new user automatically has the required show database privelege?
cheers,
simon
 
Back
Top