During the project optimization today, MySQL had a problem: The user specified as a definer ('wx_root'@'%') does not exist I checked it and it means that I don't have permission to execute The creator of this stored procedure is Solutions and Actions: 1. Check the object to which the stored procedure belongs: Right-click the stored procedure function -> Select Object Properties -> Check whether the function was created and belongs to the currently logged in user 2. If not, back up the original stored procedure function, copy all the contents in the stored procedure function, create a new stored procedure, and name it the same as the original one. 3. In this way, the creator belongs to the currently logged in user. The original function can be deleted or kept (if you are not sure, it is best to keep it first) There are other reasons that may cause this error, such as no permission to execute mysql view The solution to view no permission is as follows The user specified as a definer ('root'@'%') does not exist. This is usually because the root user has no access to the global host. Therefore, just add an access permission to the root user. Solution:
Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
<<: CentOS8 network card configuration file
>>: Vue implements online preview of PDF files (using pdf.js/iframe/embed)
question When I was writing a project function to...
# Installation daemon configuration for Redis on ...
Table of contents 1. Uninstall the original drive...
Anaconda Installation Anaconda is a software pack...
introduction Sometimes, if there are a large numb...
Table of contents Preface 1. Arrange the installa...
This article uses examples to explain the knowled...
How to use CSS to control the arc movement of ele...
introduction With the widespread popularity of In...
In daily work, we sometimes run slow queries to r...
Table of contents JSON appears Json structure Jso...
What is MyCAT A completely open source large data...
Method 1: var a = [1,2,3]; var b=[4,5] a = a.conc...
Preface This experiment prepares two virtual mach...
When we are writing projects, we often encounter ...