Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 4 down vote accepted

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

share|improve this answer
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!

share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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