mysql 赋给用户远程权限出错

来源:2-4 虚拟环境的安装和配置

linxixizhi

2018-07-06

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'lxh' 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 'lxh' WITH GRANT OPTION' at line 1


写回答

1回答

bobby

2018-07-09

grant all privileges on *.* to 'root'@'%' identified by 'lxh' with grant option;

0
2
bobby
回复
肖大帅_solitude
https://blog.csdn.net/jdjdndhj/article/details/70242174 你看看这个
2019-02-25
共2条回复

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

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

5813 学习 · 6291 问题

查看课程