• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

MySQL User root doesn't work?

southy

Basic Pleskian
Hi,

in order to install, I changed the MySQL Root-User's Password to ''.
Now I want to redo this for obvious security reasons.
But I can't login as (mysql)root anymore. Neither '' nor any other password used on the system seem to work.

Plesk added it's own user: admin wich works fine.

Could it be that the old User "root" doesn not exist anymore? Did Plesk just rename it? How can I find out if there's still a user 'root' without a password?

southy
 
Just use the "admin" and the same Password like the Plesk Admin...
 
The Plesk installation indeed removes the root user and adds an admin user. Run the following to see a list of all mysql users:

Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e "SELECT user FROM mysql.user;"

There shouldn't be a user called 'root' in this list on a Plesk box.
 
No, root is not in the list.

Great! Thank you so much for your help. I was a little worried because I couldn't change that sql-root-password.

Thanks and greetings,

Southy
 
Back
Top