USE
UseStmt:
DBName:
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
SHOW TABLES;
+-------------------------+
| Tables_in_mysql |
+-------------------------+
| GLOBAL_VARIABLES |
| bind_info |
| columns_priv |
| default_roles |
| gc_delete_range |
| gc_delete_range_done |
| global_priv |
| help_topic |
| opt_rule_blacklist |
| role_edges |
| stats_buckets |
| stats_feedback |
| stats_histograms |
| stats_meta |
| stats_top_n |
| tables_priv |
| tidb |
+-------------------------+
20 rows in set (0.01 sec)
Query OK, 0 rows affected (0.10 sec)
USE newtest;
Database changed
Empty set (0.00 sec)
CREATE TABLE t1 (a int);
Query OK, 0 rows affected (0.10 sec)
+-------------------+
| Tables_in_newtest |
+-------------------+
| t1 |
+-------------------+
USE
语句与 MySQL 完全兼容。如发现任何兼容性差异,请在 GitHub 上提交 。