repairing database..
Posted: Mon Jun 09, 2008 12:34 am
hi there,
i think that the command used to repair the database
(the know myisamchk --silent --force --fast --update-state -O key_buffer=64M -O sort_buffer=64M -O read_buffer=1M -O write_buffer=1M /var/lib/mysql/*/*.MYI )
would be a great add on admin function directly on zoneminder web pages.. maybe just a click on the option and (stopping the capture) you can check the db and repair if necessary..
happen just to me that when the system shutdown wrongly (power down of club and others sucky situation) the db is corrupted? and none else other than me here know that this simple command reput the zoneminder in his full function?
i think i can add a script call on rc.zoneminder and launch this before of the eventual restart.. but a option on the web site would help others users here learn that if the events are unreadable was because the database have some table error..
hope that my rusty english and late hours wont leave the idea just on my mind and not too unreadable in this post
bye all
i think that the command used to repair the database
(the know myisamchk --silent --force --fast --update-state -O key_buffer=64M -O sort_buffer=64M -O read_buffer=1M -O write_buffer=1M /var/lib/mysql/*/*.MYI )
would be a great add on admin function directly on zoneminder web pages.. maybe just a click on the option and (stopping the capture) you can check the db and repair if necessary..
happen just to me that when the system shutdown wrongly (power down of club and others sucky situation) the db is corrupted? and none else other than me here know that this simple command reput the zoneminder in his full function?
i think i can add a script call on rc.zoneminder and launch this before of the eventual restart.. but a option on the web site would help others users here learn that if the events are unreadable was because the database have some table error..
hope that my rusty english and late hours wont leave the idea just on my mind and not too unreadable in this post
bye all