Answers for "reset password for root user in mysql ubuntu"

SQL
6

mysql set root password

use mysql;

update user set authentication_string=PASSWORD("mynewpassword") where User='root';

flush privileges;

quit
Posted by: Guest on March-10-2020
0

ubuntu mysql-server default root password

sudo mysql --defaults-file=/etc/mysql/debian.cnf
Posted by: Guest on November-24-2020

Code answers related to "reset password for root user in mysql ubuntu"

Code answers related to "SQL"

Browse Popular Code Answers by Language