Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thufir@dur:~$
- thufir@dur:~$ mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 56
- Server version: 5.5.37-0ubuntu0.14.04.1 (Ubuntu)
- Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql>
- mysql> describe titles.titles;
- +----------+--------------+------+-----+---------------------+-----------------------------+
- | Field | Type | Null | Key | Default | Extra |
- +----------+--------------+------+-----+---------------------+-----------------------------+
- | id | int(11) | NO | PRI | NULL | |
- | phone | int(11) | YES | | NULL | |
- | title | varchar(200) | YES | | NULL | |
- | created | timestamp | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
- | state | int(11) | YES | | NULL | |
- | modified | timestamp | NO | | 0000-00-00 00:00:00 | |
- | user | int(11) | YES | | NULL | |
- +----------+--------------+------+-----+---------------------+-----------------------------+
- 7 rows in set (0.00 sec)
- mysql> quit
- Bye
- thufir@dur:~$
Advertisement
Add Comment
Please, Sign In to add comment