What is my root password for MySQL?

  • If the server was auto provisioned with MySQL then the root password is the same as the server root password.
  • If you have Plesk auto provisioned on your server, then use "admin" and the admin password for Plesk.
  • If you installed MySQL through source, RPM, or up2date, then the initial root account passwords are empty, so anyone can connect to the MySQL server as root - without a password - and be granted all privileges. Unless you set the root password during or after the MySQL installation
  • Was this answer helpful?

     Print this Article

    Also Read

    Securing MySQL

    Due to differing needs and requirements this is difficult to answer except on a case by case...

    How to install Mysql

    How to install Mysql Via RPM : Please check the following link and get RPM...

    How to reset a mySQL password?

    If you have lost your root user password for MySQL, you can reset it with the following...

    Repairing MySQL tables that will not open

    This should be handled on a case by case basis, but if you are using the default MySQL table type...

    How do I backup MySQL in Linux?

    1. Copying from the mysql directoryBy default, MySQL databases on servers that use Linux are...