Created
January 31, 2013 17:59
-
-
Save rektide/4684846 to your computer and use it in GitHub Desktop.
mysql creating a user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> create user 'foo'@'%' identified by 'apass'; | |
Query OK, 0 rows affected (0.00 sec) | |
mysql> flush privileges; | |
Query OK, 0 rows affected (0.00 sec) | |
mysql> exit | |
Bye | |
~/$ mysql -u foo -p | |
Enter password: | |
ERROR 1045 (28000): Access denied for user 'foo'@'localhost' (using password: YES) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment