After installing Mythbuntu, I am unable to access MySQL as I don't remember setting a root password. What is the default password?
Asked
Active
Viewed 2.3k times
3 Answers
4
Early versions allowed blank root password. Newer versions set root password to the main user login password during the install.
tgm4883
- 7,882
- 3
- 30
- 35
-
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 03 '11 at 16:11
1
Please reset MySQL password as below:
- Ctrl + Alt + T to launch terminal
- sudo dpkg-reconfigure mysql-server-5.5
- New password for the MySQL "root" user: mysqlsamplepassword
- Repeat password for the MySQL "root" user: mysqlsamplepassword
Wish it helps!
Have a nice day!
Amigo Chan
- 697
- 7
- 6
0
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
Narendra Petkar
- 175
- 1
- 1
- 10
-
debian-sys-maint can also be used for mysqlcheck REPAIR instructions. – Henk Poley Jul 21 '23 at 16:52