Answers for "mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');"

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

Code answers related to "mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');"

Code answers related to "SQL"

Browse Popular Code Answers by Language