mysql命令报错了

来源:2-2 mysql和navicat的安装和使用

Amo_u

2018-08-06

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

写回答

1回答

Amo_u

提问者

2018-08-06

把 indentified by '123456'删了就可以执行了

0
6
bobby
回复
Amo_u
不能登上自己是什么意思?
2018-08-10
共6条回复

Scrapy打造搜索引擎 畅销4年的Python分布式爬虫课

带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎

5808 学习 · 6290 问题

查看课程