Answer the question
In order to leave comments, you need to log in
How to change root password in phpmyadmin on ubuntu?
How to change root password in phpmyadmin to ubuntu via terminal?
Answer the question
In order to leave comments, you need to log in
if there was no password before
mysqladmin -u root password '1234'
if there was a password.
Stop MySQL:
/etc/init.d/mysql stop Start
in unchecked mode:
/usr/sbin/mysqld --skip-grant-tables &
Connect as root without password:
mysql
Select active database:
use mysql;
Update the password:
mysql> update user set Password=PASSWORD('new password') WHERE User='root';
mysql> flush privileges;
Shut down mysqld:
fg
"Ctrl+c"
Start MySQL in normal mode.
/etc/init.d/mysql start
INFA
there is a lot to learn here!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question