昨天我试图加载我的网站(大约下午13:00),但是当我尝试将所有表格加载为空时。我检查了我的mariadb日志,我看到了以下内容:
# at 84030346
#170704 15:08:37 server id 1 end_log_pos 84030384 GTID 0-1-149236632
/*!100001 SET @@session.gtid_seq_no=149236632*//*!*/;
# at 84030384
#170704 15:08:37 server id 1 end_log_pos 84030513 Querythread_id=55526922exec_time=0error_code=0
SET TIMESTAMP=1499173717/*!*/;
SET @@session.foreign_key_checks=0/*!*/;
SET @@session.sql_mode=524288/*!*/;
/*!\C utf8 *//*!*/;
SET @@session.character_set_client=33,@@session.collation_connection=33,@@session.collation_server=8/*!*/;
DROP TABLE IF EXISTS `table1` /* generated by server */
/*!*/;
# at 84030513
#170704 15:08:37 server id 1 end_log_pos 84030551 GTID 0-1-149236633
/*!100001 SET @@session.gtid_seq_no=149236633*//*!*/;
# at 84030551
#170704 15:08:37 server id 1 end_log_pos 84030890 Querythread_id=55526922exec_time=0error_code=0
SET TIMESTAMP=1499173717/*!*/;
CREATE TABLE `table1` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`column1` varchar(255) DEFAULT NULL,
`column2` int(11) DEFAULT NULL,
`column3` int(11) DEFAULT NULL,
`column4` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
/*!*/;
# at 84030890
#170704 15:08:37 server id 1 end_log_pos 84030928 GTID 0-1-149236634
/*!100001 SET @@session.gtid_seq_no=149236634*//*!*/;
/*!*/;
# at 84031400
#170704 15:08:37 server id 1 end_log_pos 84031438 GTID 0-1-149236635
/*!100001 SET @@session.gtid_seq_no=149236635*//*!*/;
# at 84031438
#170704 15:08:37 server id 1 end_log_pos 84031567 Querythread_id=55526922exec_time=0error_code=0
SET TIMESTAMP=1499173717/*!*/;
SET @@session.foreign_key_checks=0/*!*/;
SET @@session.sql_mode=524288/*!*/;
/*!\C utf8 *//*!*/;
SET @@session.character_set_client=33,@@session.collation_connection=33,@@session.collation_server=8/*!*/;
DROP TABLE IF EXISTS `table2` /* generated by server */
/*!*/;
# at 84031567
#170704 15:08:37 server id 1 end_log_pos 84031605 GTID 0-1-149236636
/*!100001 SET @@session.gtid_seq_no=149236636*//*!*/;
# at 84031605
#170704 15:08:37 server id 1 end_log_pos 84032593 Querythread_id=55526922exec_time=0error_code=0
SET TIMESTAMP=1499173717/*!*/;
CREATE TABLE `table2` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`column1` int(11) DEFAULT NULL,
`column2` int(11) DEFAULT NULL,
`column3` varchar(20) DEFAULT NULL,
`column4` tinyint(4) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`),
KEY `column1` (`column1`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
/*!*/;
# at 84032593
#170704 15:08:37 server id 1 end_log_pos 84032631 GTID 0-1-149236637
/*!100001 SET @@session.gtid_seq_no=149236637*//*!*/;
我认为这是错误的:
BEGIN
开头,而是以COMMIT
/* generated by server */
这可能是什么,mariadb的日志不是以BEGIN
开头,而是以COMMIT
结尾?