当前位置:网站首页>mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
2022-07-28 20:46:00 【5xp_2001】
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
提示意思是不能用grant创建用户,mysql8.0以前的版本可以使用grant在授权的时候隐式的创建用户,8.0以后已经不支持,所以必须先创建用户,然后再授权,命令如下:
mysql> create user 'root'@'xx.xx.xx.xx' identified by 'xxxxxxxxx';
Query OK, 0 rows affected (0.05 sec)
mysql> grant all privileges on *.* to 'root'@'xxxxx.xx.xx.xx';
Query OK, 0 rows affected (0.02 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.03 sec)
边栏推荐
- Aimbetter insight into your database, DPM and APM solutions
- openresty 请求鉴权
- Lotus 1.16.0 extend sector expiration time
- C语言编程规范学习笔记和总结
- Future trend of defi in bear market
- What is a prime factor? In number theory, a prime factor (prime factor or prime factor) refers to a prime number that can divide a given positive integer
- mysql create语句能不能用来建立表结构并追加新的记录
- Mysql内置函数
- LCR测试仪最为主要的功能和用途都是什么
- Sword finger offer II 054. Sum of all values greater than or equal to nodes (medium binary search tree DFS)
猜你喜欢
随机推荐
DHCP和PPPoE协议以及抓包分析
Future trend of defi in bear market
2021 mathematical modeling group B exercise
Intranet penetration learning (III) horizontal movement of domain - planning tasks
76. Minimum coverage substring (hard sliding window hash table string)
什么是时间复杂度
Hcip experiment (14)
静态路由和缺省路由实验
HCIP(14)
Record the fluent to solve the problem of a renderflex overflowed by 7.3 pixels on the bottom
Sword finger offer II 066. sum of words (medium prefix tree design string)
Sword finger offer II 063. replacement word (medium prefix tree string)
Netease Yunxin 2022q2 product supply station, come and get your product supply plan!
hcip实验(12)
2021数学建模B组练习
[machine learning] naive Bayesian classification of text -- Classification of people's names and countries
Changes in the history of oscilloscope development
示波器发展史中的变化
Principle of object. Prototype. ToString. Call()
tutorial/detailed_workflow.ipynb 量化金融Qlib库








