The user specified as a definer (& #39; root & #39; @ & #39; % & #39;) does not exist, specifieddefiner

Source: Internet
Author: User

The user specified as a definer ('root' @ '%') does not exist, specifieddefiner
Zookeeper is generally because the root user has no access permission to the global host. Therefore, you only need to add an access permission to the root user.

Solution:

Log on to mysql and run

Mysql-u root-pPasswd

Mysql> grant all privileges on *. * to root @ "%" identified by "Passwd"

Mysql> flush privileges


Mysql user table operation permissions (java)

That's because there is a delete trigger in your database. The trigger is defined by admin,
Solution;
1. Delete the trigger.
2. Add the admin @ localhost user.

2 or 1;
Note that it must be admin @ localhost, not admin @ % or admin@127.0.01

Create definer = 'root' @ 'localhost' TRIGGER 'wl _ db' 'tbl _ dispatch_trigger 'before delete on 'wl _ db'

There seems to be no errors in the visual syntax.
What is the error message?
 

Related Article

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.