thufir

titles db

Jul 5th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. thufir@dur:~$
  2. thufir@dur:~$ mysql -u root -p
  3. Enter password:
  4. Welcome to the MySQL monitor. Commands end with ; or \g.
  5. Your MySQL connection id is 56
  6. Server version: 5.5.37-0ubuntu0.14.04.1 (Ubuntu)
  7.  
  8. Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  9.  
  10. Oracle is a registered trademark of Oracle Corporation and/or its
  11. affiliates. Other names may be trademarks of their respective
  12. owners.
  13.  
  14. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  15.  
  16. mysql>
  17. mysql> describe titles.titles;
  18. +----------+--------------+------+-----+---------------------+-----------------------------+
  19. | Field | Type | Null | Key | Default | Extra |
  20. +----------+--------------+------+-----+---------------------+-----------------------------+
  21. | id | int(11) | NO | PRI | NULL | |
  22. | phone | int(11) | YES | | NULL | |
  23. | title | varchar(200) | YES | | NULL | |
  24. | created | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
  25. | state | int(11) | YES | | NULL | |
  26. | modified | timestamp | NO | | 0000-00-00 00:00:00 | |
  27. | user | int(11) | YES | | NULL | |
  28. +----------+--------------+------+-----+---------------------+-----------------------------+
  29. 7 rows in set (0.00 sec)
  30.  
  31. mysql> quit
  32. Bye
  33. thufir@dur:~$
Advertisement
Add Comment
Please, Sign In to add comment