mysql> grant all privileges on *.* to root @’%’ identified by '12345678' with grant option;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 '

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 10:24:12
mysql> grant all privileges on *.* to root @’%’ identified by '12345678' with grant option;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 '

mysql> grant all privileges on *.* to root @’%’ identified by '12345678' with grant option;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 '
mysql> grant all privileges on *.* to root @’%’ identified by '12345678' with grant option;
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 '12345678' with grant option' at line 1

mysql> grant all privileges on *.* to root @’%’ identified by '12345678' with grant option;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 '
grant all privileges on *.* to root@'%' identified by '12345678' with grant option;
你的分号是中文的,改过来就行了,给个好评的呀.