Guest User

Untitled

a guest
Jun 19th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. [root@ice ~]# mysql -p -u kat
  2. Enter password:
  3. Welcome to the MySQL monitor. Commands end with ; or \g.
  4. Your MySQL connection id is 148
  5. Server version: 5.1.52 Source distribution
  6.  
  7. Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  8. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  9. and you are welcome to modify and redistribute it under the GPL v2 license
  10.  
  11. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  12.  
  13. mysql>
  14. mysql> show databases;
  15. +--------------------+
  16. | Database |
  17. +--------------------+
  18. | information_schema |
  19. | animegarden |
  20. | klemik_db |
  21. | mysql |
  22. | temp1 |
  23. | test |
  24. +--------------------+
  25. 6 rows in set (0.00 sec)
  26.  
  27. mysql> create database test1;
  28. Query OK, 1 row affected (0.00 sec)
  29.  
  30. mysql> show databases;
  31. +--------------------+
  32. | Database |
  33. +--------------------+
  34. | information_schema |
  35. | animegarden |
  36. | klemik_db |
  37. | mysql |
  38. | temp1 |
  39. | test |
  40. | test1 |
  41. +--------------------+
  42. 7 rows in set (0.00 sec)
Add Comment
Please, Sign In to add comment