Return to Snippet

Revision: 51741
at October 3, 2011 05:31 by athome


Initial Code
CREATE USER 'user_name'@'localhost' IDENTIFIED BY 'strong_password';

GRANT ALL PRIVILEGES ON db_name.* TO 'user_name'@'localhost' IDENTIFIED BY 'strong_password';

FLUSH PRIVILEGES;

Initial URL


Initial Description


Initial Title
Create user & grant privilege

Initial Tags
mysql, security, user

Initial Language
MySQL