废话不多说 直接上sql
SELECT * FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = ‘数据库名称’;
没有评论 to “mysql 查询数据库是否存在 sql 语句”
点击这里取消回复
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>