Unable to connect to the database

u4xlol

Verified User
Joined
Nov 12, 2009
Messages
59
hello

My websites are connected to the database and work well, but the directadmin is not connected to the database.

MySQL Management does not open,and displayed Unable to connect to the database.

I saw the following error in the directadmin log:

Code:
error=Error 1577 (HY000): Cannot proceed, because event scheduler is disabled req-uri=/api/db-show/databases?no-size=false

I also reset the root and da_admin password, which did not help!

Some of my servers have this problem, please help
 

Attachments

  • Screenshot 2024-09-08 093837.png
    Screenshot 2024-09-08 093837.png
    4.8 KB · Views: 8
try put this in "/etc/my.cnf" under section "[mysqld]"

Code:
event_scheduler=ON
and restart mysql.
 
thank you
This will solve the problem

But after a few hours the error appears again and I have to restart MySQL !
 
What's the output of:
Code:
rpm -qa | grep -i mariadb
rpm -qa | grep -i mysql
 
Back
Top