docker 下的 mariadb 10.4.8 断电后崩了,求个恢复的方式
資深大佬 : magicdu 19
报错如下:
[ERROR] Found 1 prepared transactions! It means that mysqld was not shut down properly last time and critical recovery information (last binlog or tc.log file) was manually deleted after a crash. You have to start mysqld with --tc-heuristic-recover switch to commit or rollback pending transactions.
配置文件加了:innodb_force_recovery = 1 Google 了下都让使用如下命令,恢复不成功
mysqld_safe --tc-heuristic-recover=COMMIT
大佬有話說 (15)