Knowledgebase

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

    How do I backup MySQL in Linux?

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

    Mysql Basic Commands

    [mysql dir]/bin/mysql -h hostname -u root -p Create a database on the sql server. create...

    How to install Mysql

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

    Securing MySQL

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

    How to reset a mySQL password?

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