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)
In the past few years, DIV+CSS was very popular in...
Box-sizing in CSS3 (content-box and border-box) T...
Table of contents Preface Introduction ngram full...
I believe everyone has used JD. There is a very c...
There are two files a.htm and b.htm. In the same d...
When we design a page, we often need to center th...
Table of contents 1. Basic event handling 2. Send...
Related articles: Beginners learn some HTML tags ...
Read-only and disabled attributes in forms 1. Rea...
Frameset pages are somewhat different from ordina...
<button> tag <br />Definition and usag...
The main differences are as follows: 1. MySQL use...
Recently, I solved the problem of Docker and the ...
Introduction EXISTS is used to check whether a su...
I encountered a small problem today and struggled ...