当前位置:网站首页>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:44:00 【wangbin316】
Mysql5+ Treatment method :
mysql -hlocalhost -uroot -p
grant all privileges on *.* to [email protected]"%" identified by ".";
flush privileges;
Mysql8+ Treatment method :
mysql -hlocalhost -uroot -p
grant all privileges on *.* to 'root'@'%' with grant option;
flush privileges;
without 'root'@'%' user .mysql Default when installing root yes [email protected]
So you have to create a new user before authorizing .
mysql >create user 'root'@'%' identified by 'root';
Reference documents :
The user specified as a definer ('root'@'%') does not exist_Litrainy The blog of -CSDN Blog
边栏推荐
- Pytorch fixed random seed & recurrence model
- Auto.js脚本开发环境搭建
- es6和commonjs对导入导出的值修改是否影响原模块
- New year's greetings from programmers
- Configure st-gcn environment record [Google lab]
- [C language] PTA 7-52 finding the sum of the first n terms of a simple interleaved sequence
- 读懂 互联网巨头 【中台之战】 以及 中台 发展思维
- Sign the college entrance examination
- MySQL - deep parsing of MySQL index data structure
- Hengxing Ketong invites you to the 24th China expressway informatization conference and technical product exhibition in Hunan
猜你喜欢
随机推荐
Niuke IOI weekly 27 popularity group
读懂 互联网巨头 【中台之战】 以及 中台 发展思维
[c language] PTA 7-49 have fun with numbers (partially correct)
Sign the college entrance examination
def fasterrcnn_resnet50_fpn()实例测试
Introduction to auto.js script development
GCC Basics
Make a virtual human with zego avatar | virtual anchor live broadcast solution
用 ZEGO Avatar 做一个虚拟人|虚拟主播直播解决方案
[C language] PTA 7-47 binary leading zero
Several simple and difficult OJ problems with sequential force deduction
[QT learning notes] * insert pictures in the window
un7.28:redis客户端常用命令。
Classes and objects (II)
Recyclerview switches the focus up and down through the dpad key. When switching to the control outside the interface, the focus will jump left and right
IOS interview preparation - Online
spinning up安装完使用教程测试是否成功,出现Library“GLU“ not found和‘from pyglet.gl import *错误解决办法
Ethernet of network
钉钉对话框文子转换成图片 不能复制粘贴到文档上
Vscode one click compilation and debugging