Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Can't repair MariaDB table EVENTS

Discussion in 'Database Discussions' started by @home, Jul 28, 2017.

Tags:
  1. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    121
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    I have upgraded Mysql to MariaDB a while back but now every time I restart the SQL server I get the error :

    [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.


    I Looked up this error and found Event schedule issue

    But when I try to repair the table information_schema/EVENTS I get a error :

    SQL query
    REPAIR TABLE EVENTS
    MySQL said:
    #1044 - Access denied for user 'root'@'localhost' to database 'information_schema'

    Any ideas how to fix this?

    Cpanel 64.0 build 36
    Cloudlinux 7.3
    10.0.31-MariaDB-cll-lve
     
    #1 @home, Jul 28, 2017
    Last edited: Jul 28, 2017
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Try running this first:

    Code:
    mysql mysql -e "FLUSH TABLES;"
     
  3. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    121
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    cPanelMichael and Jcats like this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see you were able to solve the issue. Thank you for updating us with the outcome.
     
Loading...

Share This Page