[mysql]check the manual that corresponds to your MySQL server version for the right syntax to use

1064 - 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 '123456'' at line 2, Time: 0.004000s
  • 解決:
  • 不要GRANT ALL ON . TO 'motor'@'%' IDENTIFIED BY '123456';
  • GRANT ALL ON motor.* TO 'motor'@'%'
相關文章
相關標籤/搜索