• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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