raspberry pi - mySQL InnoDB tables damaged after clean system restart -
i have problem small (it's raspberry pi) mysql installation. point it's sure innodb system files corrupted/damaged after system (debian linux like) reboot or halt.
logs show innodb engine shotdown mysql not start after because of damaged innodb files.
just explain, raspberry pi small computer running debian linux. file system sd card based.
hardware small use collect real world sensors data, it's not unusual have dozen of thousands rows in main table.
i asked question on rpi forum seems need more experienced mysql people solve :)
i did 2 things , appears have helped:
made sure debian-sys-maint user still there server shut down:
grant privileges on *.* 'debian-sys-maint'@'localhost' identified '[password /etc/mysql/debian.cnf]' grant option; flush privileges;
then, added
sync
in /etc/init.d/mysql script instop
case before;
i had problem after complete reimage (due power failure corrupting filesystem) , it's behaving 'sync'. (shouldn't need that, hey helps)
Comments
Post a Comment