1、通过show create database命令
(system@localhost)[(none)]> show create database huangruihhu;
(system@localhost)[(none)]> show create database huangruihhu;
2、查询MySQL中的字典表
(system@localhost)[(none)]> select * from information_schema.schemata;
(system@localhost)[(none)]> select * from information_schema.schemata;
