Answers for "lost my root password mysql phpmyadmin"

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

what is default mysql database password in linux

$ sudo apt install mysql-server
$ sudo cat /etc/mysql/debian.cnf
Posted by: Guest on May-26-2020

Code answers related to "lost my root password mysql phpmyadmin"

Code answers related to "SQL"

Browse Popular Code Answers by Language