当前位置:网站首页> mysql8报错:ERROR 1410 (42000): You are not allowed to create a user with GRANT解决办法
mysql8报错:ERROR 1410 (42000): You are not allowed to create a user with GRANT解决办法
2022-06-30 15:41:00 【1024问】
1. 今天刚装了mysql8.0.13,试着分配几个账号和权限,结果报错:

2. 查资料得知mysql8的分配权限不能带密码隐士创建账号了,要先创建账号再设置权限
输入命令:Grant all privileges on test.* to 'test'@'%';
又报错:You are not allowed to create a user with GRANT ;

不允许使用grant命令,怎么会没权限,奇怪。
3.后来想到了mysql数据表user中的host
于是修改host:update user set host='%' where user='test';

再执行两次
Grant all privileges on test.* to 'test'@'%';
成功:

但连接Navicat报错

这是因为mysql8的加密方式和Navicat不一样
4.修改加密方式:alter user test identified with mysql_native_password by 'xxx';

再试,搞定!

总结
到此这篇关于mysql8报错:ERROR 1410 (42000): You are not allowed to create a user with GRANT解决办法的文章就介绍到这了,更多相关ERROR 1410 (42000): You are not allowed to create a user with GRANT内容请搜索软件开发网以前的文章或继续浏览下面的相关文章希望大家以后多多支持软件开发网!
边栏推荐
- Specific steps for installing mysql8.0 on Windows system
- Is your light on? Before you start to solve a problem, you need to know what the "real problem" is
- [leetcode] linked list sorting (gradually increasing the space-time complexity)
- Unsupported major.minor version 52.0
- Interview experience of service end test engineer
- openresty 内置变量
- Google play index table
- Deep understanding Net (2) kernel mode 1 Kernel mode construct event event
- Policy Center > Google Play‘s Target API Level Policy
- Policy Center > Device and Network Abuse
猜你喜欢

数据治理市场:亿信华辰朝左,华傲数据向右

Advanced C language - pointer 3 - knowledge points sorting

4.3 variables and assignments

Policy Center > Deceptive Behavior

Generating verification code with sring

Finally understand science! 200 pictures to appreciate the peak of human wisdom
![[sub matrix quantity statistics] cf1181c flag sub matrix quantity statistics](/img/91/2a94749d64d153ef1caf81345594a4.png)
[sub matrix quantity statistics] cf1181c flag sub matrix quantity statistics

ASP. Net core signalr tutorial

优惠券种类那么多,先区分清楚再薅羊毛!

Policy Center-User Data
随机推荐
交调与互调的区别
【Leetcode】链表排序(逐步提高时空复杂度)
4.5 integer
Practical cases of data visualization (timeline rotation diagram, streamlit control year metabase visualization tutorial) 2.0
【时序数据库InfluxDB】Windows环境下配置InfluxDB+数据可视化,以及使用 C#进行简单操作的代码实例
消息队列十连问
Policy Center-User Data
ASP. Send information in sinalr controller of net core
Lecun points out the direction of next generation AI: autonomous machine intelligence
[time series database incluxdb] code example for configuring incluxdb+ data visualization and simple operation with C under Windows Environment
Policy Center > Misrepresentation
Smart wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
ADB devices cannot detect the problem of Xiaomi note 3
4.7 type() function query data type
渲染引擎的资源加载优化
Go-Micro安装
ASP. Net core signalr tutorial
360 digital, ant group, etc. were selected as member units of the "business security promotion plan" of the Chinese Academy of Communications
《你的灯亮着吗》开始解决问题前,得先知道“真问题”是什么
The difference between intermodulation and intermodulation