Mysql5.7数据库无法删除,一直提示错误!

mysql 版本:5.7.26
执行的语句:

mysql> drop databases db_esl_v2;
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 'databases db_esl_v2' at line 1
mysql> drop databases `db_esl_v2`;
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 'databases `db_esl_v2`' at line 1

请问这个是啥情况?

阅读 1.8k
1 个回答

DROP DATABASE XXX;

单数,没有复数 s

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题