MySQL 显示数据库及表信息

mysql>show databases;

mysql>use mysql;

mysql>show tables;

mysql> describe mysql.user;

mysql>select * from user;

mysql> explain select * from mysql.func\G
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: func
type: system
possible_keys: NULL
key: NULL
key_len: NULL
ref: NULL
rows: 0
Extra: const row not found

你可能感兴趣的:(MySQL)