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
请问这个是啥情况?
DROP DATABASE XXX;
单数,没有复数
s
。