说连接是否为本地主机,其中包含
* information_schema
MySQL的
performance_schema
测试
test_database *
查询以检索架构计数
计数(模式)
----------------------
5
最佳答案
你可以试试这个
select count(*) from information_schema.SCHEMATA where schema_name not in
('mysql','information_schema');
如果要所有数据库
然后使用
select count(*) from information_schema.SCHEMATA where schema_name;
关于mysql - MYSQL查询以计算mysql服务器中存在的模式数量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17698237/