Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
mysql -u root -p
SELECT user,authentication_string,plugin,host FROM mysql.user;
CREATE USER 'nghiahsgs4'@'%' IDENTIFIED WITH mysql_native_password BY '261997';
FLUSH PRIVILEGES;
GRANT ALL PRIVILEGES ON *.* TO 'nghiahsgs4'@'%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment