Guest User

Untitled

a guest
Jan 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. root@llama:~# mysql -u root
  2. Welcome to the MySQL monitor. Commands end with ; or \g.
  3. Your MySQL connection id is 1
  4. Server version: 5.1.49-1ubuntu8.1 (Ubuntu)
  5.  
  6. Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  7. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  8. and you are welcome to modify and redistribute it under the GPL v2 license
  9.  
  10. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  11.  
  12. mysql> use mysql;
  13. Reading table information for completion of table and column names
  14. You can turn off this feature to get a quicker startup with -A
  15.  
  16. Database changed
  17. mysql> UPDATE user SET password=('cheese') WHERE user='root';
  18. Query OK, 3 rows affected (0.00 sec)
  19. Rows matched: 3 Changed: 3 Warnings: 0
  20.  
  21. mysql> flush privileges;
  22. Query OK, 0 rows affected (0.00 sec)
  23.  
  24. mysql> exit
  25. Bye
  26. root@llama:~#
Add Comment
Please, Sign In to add comment