查看数据库 SHOW DATABASES; 查看表 USE database_name; SHOW TABLES; 查看表中的列 SHOW COLUMNS FROM table_name; DESCRIBE table_name; 查看表中内容 select * from table_name;