I'm curious as to how you know that you have partial corruption. Have you tried to upgrade already? If you're mysql server has always been configured for either latin1 or utf8 (but not changed from one to the other) you shouldn't have partial corruption.dnm wrote:Wow, I am definitively holding off upgrading mythtv to 0.22 for as long as possible. I am a longtime user and I have partial corruption (sigh). I also use other databases than mythconverg, so I am also thinking that changing a "misconfigured server" /etc/mysql/my.conf (as explained by the Fixing Corrupt Database Encoding) might not be a good idea.
Also...reconfiguring your database is NOT not needed when you've upgraded to 0.22. Those instructions are for people who fix their database BEFORE upgrading and wish to continue running 0.21...a practice that (from my experience mentioned earlier here) simply does NOT work anyway. I wouldn't recommend that anyone fix their database and attempt to run 0.21. But again...as long as you upgrade mythtv, there's NO need to change your my.cnf at all, as mythtv handles the connection character set stuff itself.
Edit: this is from the wiki:
After re-reading the wiki, I realized that they do in fact tell you to reconfigure mysql before restoring the database. I may not have done that. That part confuses me a bit, as my understanding was that the SET NAMES in the backup file forced the character set of the connection.Once you've upgraded MythTV to current SVN trunk or 0.22 (when released), you may restore the old mysql configuration file, if desired.
In any case, you could disable the other applications you have that use mysql long enough to do that restore fix. You can switch your my.cnf back after doing the restore as long as you're running 0.22.
Tom



