After installing Mythbuntu, I am unable to access MySQL as I don't remember setting a root password. What is the default password?


Early versions allowed blank root password. Newer versions set root password to the main user login password during the install.

  • The default password is empty in older versions - You can try to log in using "mysql -u root". In newer versions as said, root password is the same as the login password. – BrownE Nov 3 '11 at 16:11

Please reset MySQL password as below:

  1. Ctrl + Alt + T to launch terminal
  2. sudo dpkg-reconfigure mysql-server-5.5
  3. New password for the MySQL "root" user: mysqlsamplepassword
  4. Repeat password for the MySQL "root" user: mysqlsamplepassword

Wish it helps!

Have a nice day!


MYSQL Administrator gives great Management GUI with debian-sys-maint account whose username and password are present in /etc/mysql/debian.cnf you can configure all accounts as super user

see if it helps

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.