首页 > 解决方案 > 在 Mysql 中删除/删除我的数据库时需要帮助

问题描述

我有一个名为“sql-mystery”的数据库。我无法使用 -

DROP DATABASE sql-mystery;

我收到错误,例如-

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 'sql-mystery' at line 1

我错过了什么?

标签: mysqldatabase

解决方案


尝试使用

    DROP DATABASE `sql-mystery`;

推荐阅读