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!

SOLVED Can't repair MariaDB table EVENTS

Discussion in 'Database Discussion' 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:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Try running this first:

    Code:
    mysql mysql -e "FLUSH TABLES;"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    43,716
    Likes Received:
    1,794
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice