我是本地开启了两上mysql服务。执行
GRANT REPLICATION SLAVE ON . TO ‘repl’@‘127.0.0.1’ IDENTIFIED BY ‘mysql’;
时报错:
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 ‘mysql’’ at line 1
请问是什么原因呢?
SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需
了解课程