Answers for "mysql add root password"

0

mysql add root password

cd "C:\Program Files\MySQL\MySQL Server 8.0\bin"

C:\Program Files\MySQL\MySQL Server 8.0\bin> mysql -u root -p
Enter password: *********

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'newrootpassword';
Query OK, 0 rows affected (0.10 sec)

mysql> exit
Posted by: Guest on May-30-2021
0

mysql add root password

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

Browse Popular Code Answers by Language