• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Plesk MariaDB MySQL Governer dbuser-map file question

vince.chapman

New Pleskian
Hi Team

Just have a question about Plesk and the MySQL/MariaDB Governor

When I installed the governor and go into the settings for it under the LVE manager , The default setting is abusers (default)
and in the description of that setting it says "Requires dbuser-map file."

It isn't very clear if this is something that I need to create or if I need to populate this file manually or if Plesk will do this for me.

I have checked /etc/containers/dbuser-map and the file is time-stamped recently like it updates automatically but the file is empty.
I do have some MariaDB databases on the server and just wondering if this file is normal to be empty or does it populate only if someone goes over the limits?

Thanks to anyone who can provide some insight into how this file works in Plesk.

I'm running
Plesk Obsidian
Version 18.0.34
On CloudLinux 7.9
 
Further to this I have noticed that this file has now propagated database user mappings. It must have taken a while to sort itself out probably a nightly cronjob or something.

I guess now I know this file is now self propagating, is there a way to force it to update straight away when a new database is added?
 
Last edited:
And again further to this, I have found in the /var/log/cron file this:

/usr/share/lve/dbgovernor/mysqlgovernor.py --dbupdate

This is the command to manually update the user mappings.
 
Back
Top