当前位置:数据库 > MySQL >>

mysql sql删除数据库命令

DROP DATABASE <database>
 
SHOW DATABASES;
CREATE DATABASE myDatabase;
SHOW DATABASES;
drop database myDatabase;
SHOW DATABASES;
 
常见问题解决

DROP
老是说 mysql教程> drop second;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'secon
d' at line 1
不知道是什么出了问题

drop table  second;

mysql 没用过,sql都应该差不多,不知道对不.

补充:数据库,mysql教程
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,