190801 18:16:04 [ERROR] Slave SQL: Error 'Character set '#45' is not a compiled character set and is not specified in the '/usr/local/mysql/share/charsets/Index.xml' file' on query. Default database: 'maxwell'. Query: 'CREATE DATABASE IF NOT EXISTS `maxwell`', Error_code: 22 190801 18:16:04 [Warning] Slave: Character set '#45' is not a compiled character set and is not specified in the '/usr/local/mysql/share/charsets/Index.xml' file Error_code: 22
# at 399078 #190801 18:16:06 server id 11243327 end_log_pos 399183 Query thread_id=86609906 exec_time=0 error_code=0 SET TIMESTAMP=1564654566/*!*/; SET @@session.sql_mode=2097152/*!*/; /*!\C utf8mb4 *//*!*/; SET @@session.character_set_client=45,@@session.collation_connection=45,@@session.collation_server=33/*!*/; CREATE DATABASE IF NOT EXISTS `maxwell` /*!*/; # at 399183 #190801 18:16:06 server id 11243327 end_log_pos 399821 Query thread_id=86609906 exec_time=0 error_code=0 use maxwell/*!*/; SET TIMESTAMP=1564654566/*!*/; CREATE TABLE IF NOT EXISTS `schemas` ( id int unsigned auto_increment NOT NULL primary key, binlog_file varchar(255), binlog_position int unsigned, last_heartbeat_read bigint null default 0, gtid_set varchar(4096), base_schema_id int unsigned NULL default NULL, deltas mediumtext charset 'utf8' NULL default NULL, server_id int unsigned, position_sha char(40) CHARACTER SET latin1 DEFAULT NULL, charset varchar(255), version smallint unsigned not null default 0, deleted tinyint(1) not null default 0, UNIQUE KEY `position_sha` (`position_sha`) )
从 /!\C utf8mb4 //!/; SET @@session.character_set_client=45,@@session.collation_connection=45,@@session.collation_server=33/!/;