redis 由于机器重启导致启动出现该错误:
Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix <filename>
修复方式:
cp appendonly.aof appendonly.aof.bak
redis-check-aof --fix appendonly.aof
然后在启动redis即可
redis 由于机器重启导致启动出现该错误:
Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix <filename>
修复方式:
cp appendonly.aof appendonly.aof.bak
redis-check-aof --fix appendonly.aof
然后在启动redis即可