SQL Error 1227:access denied; You need the SUPER privilege for this operation

Source: Internet
Author: User
Tags sql error mysql view

Today, my colleague told me that the view he had built on MySQL was not able to be changed, and the following error was reported:

SQL Error 1227:access denied; You need the SUPER privilege for this operation

At first, I thought it was the authority of the question, checked for a half-day, the authority is clearly some, added the following two licensing conditions, or not:

Grant Operation MySQL View, view source code permissions:
Grant CREATE view on testdb.* to [email protected]' 192.168.0.% ';
Grant Show view on testdb.* to [email protected]' 192.168.0.% ';

In the end, there is no way to create a new view, can be created successfully, but also can change their own newly created view, which indicates that the user's permissions are not a problem; the last thought of that should be to create the view definition of the problem of people, to look at, sure enough, these views are created with the same user name, But previously authorized is the original company's public network IP, recently the company's public network IP has been caused, changed the definition of the person, after the fix, such as:

650) this.width=650; "title=" QQ picture 20140919173812.jpg "alt=" wkiol1qb-cbcywgpaaf5yyaseje925.jpg "src="/http S3.51cto.com/wyfs02/m02/49/da/wkiol1qb-cbcywgpaaf5yyaseje925.jpg "/>

This article is from the "Square Hill" blog, please be sure to keep this source http://63638790.blog.51cto.com/513514/1555264

SQL Error 1227:access denied; You need the SUPER privilege for this operation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.