The. ib_logfile0isofdifferent error occurred when I used the xtrabackup tool to completely back up the mysql database. The specific log information is as follows: I first searched Baidu and Google for a correct answer ..
The./ib_logfile0isofdifferent error occurred when I used the xtrabackup tool to completely back up the mysql database. The specific log information is as follows: I first searched Baidu and Google for the corresponding answer ..
The error "./ib_logfile0 is of different" is returned when you use xtrabackup to completely back up the mysql database. The specific log information is as follows:
I first searched Baidu and Google for the corresponding answer. Starting with the error log, the preceding log prompts that the log file size of the mysql database inondb is inconsistent with the innodb log file size set in the mysql configuration file.
First, check the log file size of the innodb mysql database and find that the size of the innodb log file is 5242880 bytes, that is, the log file size is 5 MB.
Next, check the innodb log file size set in the mysql configuration file. The Hong Kong virtual host and Hong Kong virtual host are found to be 16 MB, which is indeed inconsistent.
To make the log file size of mysql innodb consistent with the innodb log file size set in the mysql configuration file, it is really easy to modify the mysql configuration file innodb_log_file_size = 5 MB.
During the backup process, the following Error occurs, indicating that a logfile2 log file has been re-created, and "InnoDB: Error: log file" is displayed during the backup process. /ib_logfile2 is of different size 0 0 bytes ".
How does one log file (logfile2) Come out during backup? Modify the mysql configuration file again, and set the number of log files to 2. The Hong Kong server is rented. innodb_log_files_in_group = 3. xtrabackup will compare the log files with the mysql configuration options during Backup.
This article is from the "simple dream Chaser" blog. Please keep this source