Guest User

Untitled

a guest
Aug 18th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. steki@kuca:~/OSC/home:bmanojlovic:djule/heartbeat> mysql
  2. Welcome to the MySQL monitor. Commands end with ; or \g.
  3. Your MySQL connection id is 3
  4. Server version: 5.1.46-log SUSE MySQL RPM
  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=PASSWORD("guessme") 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> Bye
  25. steki@kuca:~/OSC/home:bmanojlovic:djule/heartbeat>
Add Comment
Please, Sign In to add comment