mysql导入报错【The MySQL server is running with the --event-scheduler=DISABLED】

1. Question:

  When the mysql operation was performed to import the library, it reported [The MySQL server is running with the --event-scheduler=DISABLED]

  Viewing the background log is that the event is not enabled

 

2. Solution:

  Find the mysql library configuration file [my.ini]

  (1) The skip-grant-tables option is commented out

  (2) event_scheduler=ON Add this option

 

3. Summary:

  Many inexplicable problems will be reported when backing up the library from the server, importing it locally or elsewhere

  Generally, after an error is reported, the log of the error will be printed in the log file of the database. You only need to carefully check the reason for the error in the log, and you can solve it in a targeted manner. Don't panic!

  Reference article: [ https://blog.csdn.net/magius/article/details/54341727 ]

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324669346&siteId=291194637