当我尝试使用以下命令来尝试授予权限时,出现以下错误,谁能告诉我为什么会出现语法错误?
mysql> grant all privileges on ufo.* to 'abc'@'%' identified by 'abc';
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 'identified by 'abc'' at line 1
最佳答案
尽量避免被...识别
grant all privileges on ufo.* to 'abc'@'%';
关于mysql 错误 您的 SQL 语法有错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57118150/