Connection for Controluser as defined in your configuration failed.

Source: Internet
Author: User

Using the event Scheduler (scheduled Tasks) in MySQL,

The statement was written, and the operation was OK, but there was no expected result. Online summary of the reasons for the failure of a very many scheduled tasks. There is no one for me.

Open the event table in phpMyAdmin and find the following red tip: Connection forcontroluser as defined in your configuration failed.

This sentence pasted on the internet search, many are some foreign sites, did not understand, and then translated the meaning of this sentence is: "Due to the control user defined in the configuration of the connection failed."

Apart, find the configuration file for Phpyadmin config.sample.inc.php, and see a paragraph like this:

/* PMA User Advanced Features */
$cfg [' Servers '] [$i] [' controluser '] = ' PMA ';
$cfg [' Servers '] [$i] [' controlpass '] = $password;

The original user is the advanced user, before installing the integration environment did not let the user input, just need to enter the password,

So I usually use the root account, but this account is not an advanced user, and then decisively replaced the above PMA to root.

Back to the Event table page, the red hint disappears. My planning task starts to work.

。。

Some people on the internet have summed up the reasons for the failure of very many common event scheduling. It is important to note that:

The scheduled task fails after the server shuts down, which is not agreed in the actual production.

Ability to change MySQL configuration file resolution, add a event_scheduler=on in My.ini

Connection for Controluser as defined in your configuration failed.

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.