Answers for "create user in mysql 8"

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
0

mysql password error create datbase

use mysql;
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON *.* TO 'username'@'localhost';
flush privileges;
Posted by: Guest on October-09-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language