当前位置:网站首页>Mysql:The user specified as a definer (‘root‘@‘%‘) does not exist 的解决办法
Mysql:The user specified as a definer (‘root‘@‘%‘) does not exist 的解决办法
2022-07-29 04:33:00 【wangbin316】
Mysql5+处理办法:
mysql -hlocalhost -uroot -p
grant all privileges on *.* to [email protected]"%" identified by ".";
flush privileges;Mysql8+处理办法:
mysql -hlocalhost -uroot -p
grant all privileges on *.* to 'root'@'%' with grant option;
flush privileges;如果没有'root'@'%' 用户。mysql安装的时候默认的root是[email protected]
所以授权之前还得新建一个用户。
mysql >create user 'root'@'%' identified by 'root';
参考文档:
The user specified as a definer ('root'@'%') does not exist_Litrainy的博客-CSDN博客
mysql出现The user specified as a definer ('root'@'%') does not exist报错!_StaceyWeiStaceyWei的博客-CSDN博客
边栏推荐
- [C language] PTA 7-52 finding the sum of the first n terms of a simple interleaved sequence
- [C language] PTA 7-91 output leap year
- 读懂 互联网巨头 【中台之战】 以及 中台 发展思维
- What is the use of meta-info?
- Redux quick start
- JVM (heap and stack) memory allocation
- String, array, generalized table (detailed)
- It won't last for 70 days. The k-largest number in the array
- 异常处理:pyemd或PyEMD找不到
- Basic operation of queue
猜你喜欢

Pytoch distributed training

Unity Foundation (3) -- various coordinate systems in unity

ssm整合增删改查

Basic operation of queue

Visio draw grid

Star a pathfinding in LAYA

What is the difference between field, variable and property

mujoco和mujoco_py安装以及解决libXcursor.so.1:NO such dictionary
![[QT learning notes] * insert pictures in the window](/img/72/ecac8fb35a404130ee020db572a4b4.png)
[QT learning notes] * insert pictures in the window

Back propagation process of manual BP neural network
随机推荐
It won't last for 70 days. The k-largest number in the array
C language: summary of consortium knowledge points
14. Haproxy+kept load balancing and high availability
spinning up安装完使用教程测试是否成功,出现Library“GLU“ not found和‘from pyglet.gl import *错误解决办法
Integration of Nan causes in pytorch training model
MySQL - 深入解析MySQL索引数据结构
Log configuration logback
你真的会写Restful API吗?
[C language] PTA 7-91 output leap year
Shell string segmentation
C language: structure simple syntax summary
Webrtc realizes simple audio and video call function
LeetCode_ Stack topics
Unity Foundation (3) -- various coordinate systems in unity
On the use of pyscript (realizing office preview)
Realize the effect of univariate quadratic equation through JS. Enter the coefficients of a, B and C to calculate the values of X1 and x2
Use of torch.optim optimizer in pytorch
Mpc5744p introduction and opensda firmware update
Actual combat of flutter - DIO of request encapsulation (II)
Auto.js脚本开发环境搭建