当前位置:网站首页>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
- 常见的限流方式
- GCC Basics
- Laya中的A星寻路
- 如何避免示波器电流探头损坏
- def fasterrcnn_resnet50_fpn()实例测试
- Install the gym corresponding to mujoco in the spinning up tutorial, and the error mjpro150 is reported
- Leetcode (Sword finger offer) - 53 - I. find the number I in the sorted array
- Definition and implementation of stack and queue (detailed)
- LeetCode(剑指 Offer)- 53 - I. 在排序数组中查找数字 I
猜你喜欢

Several simple and difficult OJ problems with sequential force deduction

安装spinning up教程里与mujoco对应的gym,报错mjpro150

iOS面试准备 - ios篇

如何避免示波器电流探头损坏

MySQL - 聚簇索引和辅助索引

mujoco和mujoco_py安装以及解决libXcursor.so.1:NO such dictionary

STL source code analysis (Hou Jie) notes - STL overview

Webrtc realizes simple audio and video call function

删除word文档中的空白页

Unity Foundation (3) -- various coordinate systems in unity
随机推荐
[C language] PTA 7-91 output leap year
【Express连接MySQL数据库】
学术 | [LaTex]超详细Texlive2022+Tex Studio下载安装配置
i++与++i详解
软件测试面试题(四)
Detailed comparison of break and continue functions
[c language] PTA 7-48 find the number of combinations
def fasterrcnn_resnet50_fpn()实例测试
On quotation
Understand the Internet giant [the war between China and Taiwan] and the development thinking of China and Taiwan
[c language] PTA 7-49 have fun with numbers (partially correct)
Mpc5744p introduction and opensda firmware update
UE plays video in scene or UMG
正确的用户拖拽方式
Actual combat of flutter - DIO of request encapsulation (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
STL source code analysis (Hou Jie) notes -- Classification and testing of stl containers
Go面向并发的内存模型
[c language] use the reverse order output of the linked list (bidirectional linked list)
OpenCV环境搭建