Created
February 21, 2012 20:15
-
-
Save orospakr/1878607 to your computer and use it in GitHub Desktop.
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
sh-3.2# mysql -u root -p marketscout_user_data | |
Enter password: | |
Reading table information for completion of table and column names | |
You can turn off this feature to get a quicker startup with -A | |
Welcome to the MySQL monitor. Commands end with ; or \g. | |
Your MySQL connection id is 493 | |
Server version: 5.5.19 Source distribution | |
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. | |
Oracle is a registered trademark of Oracle Corporation and/or its | |
affiliates. Other names may be trademarks of their respective | |
owners. | |
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. | |
mysql> GRANT ALL PRIVILEGES ON *.* TO 'acc'@'%' WITH GRANT OPTION; | |
Query OK, 0 rows affected (0.06 sec) | |
mysql> \q | |
Bye | |
sh-3.2# mysql -u acc marketscout_user_data -p | |
Enter password: | |
Welcome to the MySQL monitor. Commands end with ; or \g. | |
Your MySQL connection id is 494 | |
Server version: 5.5.19 Source distribution | |
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. | |
Oracle is a registered trademark of Oracle Corporation and/or its | |
affiliates. Other names may be trademarks of their respective | |
owners. | |
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. | |
mysql> SELECT * FROM auth_version; | |
ERROR 1142 (42000): SELECT command denied to user 'acc'@'localhost' for table 'auth_version' | |
mysql> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment