Azure MySQL event scheduler Issue

정석 오 0 Reputation points
2024-08-27T06:21:10.67+00:00

I'm using the Azure Database for MySQL service. After a maintenance event on Azure, MySQL restarted.

After the restart, the event_scheduler was turned OFF, and the MySQL events we had registered are now in a "DISABLED ON SLAVE" state, which is affecting our service. How can we resolve this issue?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
848 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 15,421 Reputation points
    2024-08-27T07:50:33.59+00:00

    Hi 정석 오 •,

    Welcome to Microsoft Q&A forum.

    As I understand, your event_scheduler parameter is turned off for Azure MySQL Server.

    It looks like you MySQL server has High Availability configured, when failover occurs, it's possible that the event_scheduler server parameter will be set to 'OFF'. If this occurs, when the failover is complete, configure the parameter to set the value to 'ON'.

    Login to your Azure portal > ${your_sql_server} > click on "Server Parameters" tab and you should be able to set all your global parameters like "event_scheduler"

    See : Configure server parameters in Azure Database for MySQL - Flexible Server using the Azure portal

    Hope this helps.

    Let us know if you have more queries.

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.