Answers for "how to create a user in mysql nattive password"

SQL
2

mysql create user with mysql_native_password

CREATE USER 'user'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'user'@'localhost';
FLUSH PRIVILEGES;
Posted by: Guest on January-17-2021
2

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 "how to create a user in mysql nattive password"

Code answers related to "SQL"

Browse Popular Code Answers by Language