• 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 Can/should I set a password for the MariaDB "root" user (not "admin")?

King555

Regular Pleskian
Server operating system version
Ubuntu 18.04.6 LTS x64
Plesk version and microupdate number
Plesk Obsidian 18.0.49 Update 1 web admin edition
When I view the user list of MariaDB via PhpMyAdmin, there are – among others for the individual databases, of course – the admin user created by Plesk (with the password which is in the file /etc/psa/.psa.shadow) and a user called root without password.

I cannot login with root via PhpMyAdmin. I guess it's because a login with no password is disabled. But I can login via "mysql -uroot" at the console. Although I'm the only SSH user, it feels like a security risk when there is no password.

So my question is: Can I change the password or does Plesk rely on a password-less root user for MariaDB?
 
On a default Plesk installation, the database does not know the "root" user. It uses a user called "admin". You should not allow logins to your database without password.
 
Thanks. Any ideas why I have the root user then? It was a minimal installation of Ubuntu and then I just installed Plesk. Should I delete the root user? I never used it.
 
You can keep the root user, but you should enable password requirement when your database server starts.
 
Back
Top