• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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