home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MySQL 5.6 InnoDB get's currupted after crash ... Backup of the Databases
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pur_berger" data-source="post: 1122685" data-attributes="member: 50701"><p>Since the switch of MySQL to 5.6 and the usage of InnoDB I'm experiancing that after a crash or forcefully restart without closing the Server properly you have a rather good chace to "kill" some of the tables in your db's. Most of teh time aRapir will help - anyway - with InnoDB it seems to be a little tricky as the standard repair task does not doe certain tasks as it did with myisam.</p><p></p><p>Anyway - I thought if someone has the same issues I post the solution for me - repair and backup.</p><p></p><p>Repair Task:</p><p></p><p>cd c:\Program Files\MySQL\MySQL Server 5.6\bin</p><p>mysqlcheck.exe -u root -pMediaPortal --auto-repair --all-databases</p><p></p><p>Backup:</p><p></p><p>For the backup I found a good working batchfile originating here: <a href="http://www.redolive.com/utah-web-designers-blog/automated-mysql-backup-for-windows/" target="_blank">RED OLIVE INC. - www.redolive.com</a> which only needed some small modifications (the get date was not working so I have included another routine). Basically what it does is to dump your databases to a defined location with date and time and compress them to a zipfile. The configuration steps are explained in the batchfile.</p></blockquote><p></p>
[QUOTE="pur_berger, post: 1122685, member: 50701"] Since the switch of MySQL to 5.6 and the usage of InnoDB I'm experiancing that after a crash or forcefully restart without closing the Server properly you have a rather good chace to "kill" some of the tables in your db's. Most of teh time aRapir will help - anyway - with InnoDB it seems to be a little tricky as the standard repair task does not doe certain tasks as it did with myisam. Anyway - I thought if someone has the same issues I post the solution for me - repair and backup. Repair Task: cd c:\Program Files\MySQL\MySQL Server 5.6\bin mysqlcheck.exe -u root -pMediaPortal --auto-repair --all-databases Backup: For the backup I found a good working batchfile originating here: [URL='http://www.redolive.com/utah-web-designers-blog/automated-mysql-backup-for-windows/']RED OLIVE INC. - www.redolive.com[/URL] which only needed some small modifications (the get date was not working so I have included another routine). Basically what it does is to dump your databases to a defined location with date and time and compress them to a zipfile. The configuration steps are explained in the batchfile. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MySQL 5.6 InnoDB get's currupted after crash ... Backup of the Databases
Contact us
RSS
Top
Bottom