[root@yw_db_yj xx_sync]# ./bin/mysql -uroot -p123456 --sock=logs/mysql.sock
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 549105657
Server version: 5.5 . 15 -log Source distribution
Copyright (c) 2000 , 2010 , 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> use xx_sync
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> desc extension_1;
+------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------+-------------+------+-----+---------+----------------+
| id | int ( 11 ) | NO | PRI | NULL | auto_increment |
| passport | var char( 64 ) | YES | UNI | NULL | |
| content | longtext | NO | | NULL | |
| checkcode | var char( 45 ) | YES | | NULL | |
| createtime | int ( 11 ) | YES | | NULL | |
| updatetime | int ( 11 ) | YES | | NULL | |
+------------+-------------+------+-----+---------+----------------+
6 rows in set ( 0.02 sec)
mysql> quit
Bye
|