[mythtv-commits] Ticket #9108: Restore script mythconverg_restore.pl selects incorrect collation

MythTV mythtv at cvs.mythtv.org
Sun Oct 17 12:34:53 UTC 2010


#9108: Restore script mythconverg_restore.pl selects incorrect collation
---------------------------------------------+------------------------------
     Reporter:  dennismccloud@…              |       Owner:  stuartm                       
         Type:  defect                       |      Status:  new                           
     Priority:  minor                        |   Milestone:  unknown                       
    Component:  MythTV - Mythfilldatabase    |     Version:  Unspecified                   
     Severity:  low                          |    Keywords:  Restore mythconverf_restore.pl
Ticket locked:  0                            |  
---------------------------------------------+------------------------------
 When used for a full restore of a Myth database that was originally
 created using Fedora instructions with character set latin1 with collation
 latin1_swedish_ci results in errors creating temporary tables for
 mythfilldatabase and unsuccessful schedule download.

 The mythconverg_restore.pl script sets default collate to
 latin1_general_ci which results in the following error from
 mythfilldatabase creating temporary table in the database to build the
 schedule:

 QMYSQL3: Unable to execute query
 Database error was:
 Illegal mix of collations (latin1_general_ci,IMPLICIT) and
 (latin1_swedish_ci,IMPLICIT) for operation '='

 The fix was to change the database default collate back to
 latin1_swedish_ci with:

 mysql> alter database mythconverg default character set latin1 default
 collate latin1_swedish_ci

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/9108>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list