Navicat export MySQL Database "cannot proceed because system tables used by Event Scheduler

Source: Internet
Author: User
Tags mysql database


Encounter with Navicat "cannot proceed because system tables used by Event Scheduler were found at server start."

Use of the Apmserv MySQL integration environment (tools are good but find the corresponding file is a bit of trouble, I prefer the independent installation of various support, the pursuit of efficiency can be ignored)

In search of the Internet to use what upgrade what EXE upgrade can be, did not find the corresponding execution file, found on the Internet a corresponding implementation of SQL can be a method, as follows:

Go to MySQL's system library, execute SQL

DROP TABLE IF EXISTS ' event ';
CREATE TABLE ' event ' (
' DB ' CHAR (CHARACTER SET UTF8 COLLATE utf8_bin not NULL DEFAULT ',
' Name ' CHAR ' not NULL DEFAULT ',
' Body ' longblob is not NULL,
' Definer ' CHAR (+) CHARACTER SET UTF8 COLLATE utf8_bin not NULL DEFAULT ',
' Execute_at ' datetime DEFAULT NULL,
' Interval_value ' INT (one) DEFAULT NULL,
' Interval_field ' enum (' Year ', ' Quarter ', ' MONTH ', ' Day ', ' HOUR ', ' MINUTE ', ' WEEK ', ' SECOND ', ' microsecond ', ' year_month ') , ' Day_hour ', ' day_minute ', ' day_second ', ' hour_minute ', ' hour_second ', ' minute_second ', ' day_microsecond ', ' HOUR_ Microsecond ', ' minute_microsecond ', ' Second_microsecond ') DEFAULT NULL,
' Created ' TIMESTAMP not NULL DEFAULT current_timestamp on UPDATE current_timestamp,
' Modified ' TIMESTAMP not NULL DEFAULT ' 0000-00-00 00:00:00 ',
' last_executed ' datetime DEFAULT NULL,
' Starts ' datetime DEFAULT NULL,
' Ends ' datetime DEFAULT NULL,
' Status ' Enum (' Enabled ', ' DISABLED ', ' slaveside_disabled ') not NULL DEFAULT ' enabled ',
' On_completion ' enum (' drop ', ' PRESERVE ') not NULL DEFAULT ' drop ',
' Sql_mode ' SET (' real_as_float ', ' pipes_as_concat ', ' ansi_quotes ', ' ignore_space ', ' not_used ', ' only_full_group_by ', ' No_unsigned_subtraction ', ' no_dir_in_create ', ' POSTGRESQL ', ' ORACLE ', ' MSSQL ', ' DB2 ', ' MAXDB ', ' no_key_options ', ' No_ Table_options ', ' no_field_options ', ' MYSQL323 ', ' MYSQL40 ', ' ANSI ', ' No_auto_value_on_zero ', ' no_backslash_escapes ', ' Strict_trans_tables ', ' strict_all_tables ', ' no_zero_in_date ', ' no_zero_date ', ' invalid_dates ', ' ERROR_FOR_DIVISION_ By_zero ', ' traditional ', ' no_auto_create_user ', ' high_not_precedence ', ' no_engine_substitution ', ' PAD_CHAR_TO_FULL_ LENGTH ') not NULL DEFAULT ',
' Comment ' CHAR () CHARACTER SET UTF8 COLLATE utf8_bin not NULL DEFAULT ',
' Originator ' INT (a) UNSIGNED not NULL,
' Time_zone ' CHAR () CHARACTER SET latin1 not NULL DEFAULT ' SYSTEM ',
' Character_set_client ' CHAR () character set UTF8 COLLATE utf8_bin DEFAULT NULL,
' Collation_connection ' CHAR () CHARACTER SET UTF8 COLLATE utf8_bin DEFAULT NULL,
' Db_collation ' CHAR () CHARACTER SET UTF8 COLLATE utf8_bin DEFAULT NULL,
' Body_utf8 ' Longblob,
PRIMARY KEY (' db ', ' name ')
) Engine=myisam DEFAULT Charset=utf8 comment= ' Events ';

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.