- root@iz2ze4m2ri7irk7g9t31e4z ~]# cat /www/server/data/*.err | grep -i -C 10 error
- 2021-09-07 14:02:37 1932 [Note] InnoDB: Database was not shutdown normally!
- 2021-09-07 14:02:37 1932 [Note] InnoDB: Starting crash recovery.
- 2021-09-07 14:02:37 1932 [Note] InnoDB: Reading tablespace information from the .ibd files...
- 2021-09-07 14:02:44 1932 [Note] InnoDB: Restoring possible half-written data pages
- 2021-09-07 14:02:44 1932 [Note] InnoDB: from the doublewrite buffer...
- InnoDB: Last MySQL binlog file position 0 20813352, file name mysql-bin.000057
- 2021-09-07 14:02:44 1932 [Note] InnoDB: 128 rollback segment(s) are active.
- 2021-09-07 14:02:44 1932 [Note] InnoDB: Waiting for purge to start
- 2021-09-07 14:02:44 1932 [Note] InnoDB: 5.6.45 started; log sequence number 4519357589
- 2021-09-07 14:02:44 1932 [Note] Recovering after a crash using mysql-bin
- 2021-09-07 14:02:44 1932 [ERROR] Error in Log_event::read_log_event(): 'Event too small', data_len: 0, event_type: 0
- 2021-09-07 14:02:44 1932 [Note] Starting crash recovery...
- 2021-09-07 14:02:44 1932 [Note] Crash recovery finished.
- 2021-09-07 14:02:44 1932 [Note] Crashed binlog file ./mysql-bin.000057 size is 20813352, but recovered up to 20812846. Binlog trimmed to 20812846 bytes.
- 2021-09-07 14:02:44 1932 [Note] Server hostname (bind-address): '*'; port: 3306
- 2021-09-07 14:02:44 1932 [Note] IPv6 is available.
- 2021-09-07 14:02:44 1932 [Note] - '::' resolves to '::';
- 2021-09-07 14:02:44 1932 [Note] Server socket created on IP: '::'.
- 2021-09-07 14:02:45 1932 [Note] Event Scheduler: Loaded 0 events
- 2021-09-07 14:02:45 1932 [Note] /www/server/mysql/bin/mysqld: ready for connections.
- Version: '5.6.45-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
- [root@iz2ze4m2ri7irk7g9t31e4z ~]#
复制代码 |