Answers for "set user and pasword in mysql command line"

SQL
3

alter user root mysql

ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';
Posted by: Guest on October-22-2020
1

mysql set password for user

# `SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')` is deprecated
SET PASSWORD FOR <user> = '<plaintext_password>';
FLUSH PRIVILEGES;
Posted by: Guest on July-08-2020

Code answers related to "set user and pasword in mysql command line"

Code answers related to "SQL"

Browse Popular Code Answers by Language