[ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint xxxx and the end yyyy.
因MySQL上存储的应用数据并没有多大,mysql下多张表都存在问题,加上有数据备份,选择了直接重新初始化mysql库解决问题。
mysqlcheck -u username -p -B databsename --auto-repair
mysqldump -u username -p databasename > databasename_$(date +%F).sql
mv /mysql/data{,-bak}
../mysql/bin/mysqld --initialize --user=mysql
cat ../logs/mysql/error.log | grep password
mysql> alter user ‘root‘@‘localhost‘ identified by ‘新密码‘;
mysql> flush privileges;
mysql> create database databasename;
mysql> create user ‘username‘@‘localhost‘ identified by ‘之前该应用用户的密码‘;
mysql> grant all on databasename.* to ‘username‘@‘localhost‘;
mysql> flush privileges;
../bin/mysql -uusername -p databasename < 备份.sql
https://blog.csdn.net/qq813361162/article/details/52770712
原文:https://www.cnblogs.com/hbgs/p/14683246.html