Answers for "mysql root require password"

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

mysql add root password

ALTER USER 'username' IDENTIFIED WITH mysql_native_password BY 'password';
Posted by: Guest on September-01-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language