Advertisement
Guest User

Untitled

a guest
May 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. mysql> use mysql;
  2. Reading table information for completion of table and column names
  3. You can turn off this feature to get a quicker startup with -A
  4.  
  5. Database changed
  6. mysql> update user set password=PASSWORD('password') where User='limited_user';
  7. Query OK, 1 row affected (0.00 sec)
  8. Rows matched: 2  Changed: 1  Warnings: 0
  9.  
  10. mysql> exit
  11. Bye
  12. t0nic-iMac:mysql t0nic$ mysql -ulimited_user -ppassword
  13. ERROR 1045 (28000): Access denied for user 'limited_user'@'localhost' (using password: YES)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement