[mythtv-commits] Ticket #1195: MySQL Error 1071 on Schema upgrading, when starting mythtv-setup in Gentoo

MythTV mythtv at cvs.mythtv.org
Thu Feb 2 09:12:38 UTC 2006


#1195: MySQL Error 1071 on Schema upgrading, when starting mythtv-setup in Gentoo
-------------------------------+--------------------------------------------
 Reporter:  magicmonty at web.de  |       Owner:  ijr   
     Type:  defect             |      Status:  new   
 Priority:  minor              |   Milestone:        
Component:  mythtv             |     Version:  0.18.1
 Severity:  high               |  
-------------------------------+--------------------------------------------
 I run a Gentoo (2005.1). After installing mythtv 0.18.1 and running
 mythtv-setup it stops with the MySQL-Error 1071 (KEY TOO LONG). The MySQL
 Version is 5.0.18-r30.

 It is possible to solve the problem by changing 3 SQL statements ( the
 CREATE's for the tables settings, jumppoints and profilegroups) in
 libs/libmysql/dbcheck.c

 The combination of the field hostname with the other fields (name,
 destination, value) is bigger than 333 bytes so the size of the key
 (length of all fields * 3) is bigger than the keylength of 1000 bytes.

 I temporarily "solved" the problem by setting the length of the hostname-
 field to 205 instead of 255, so the sum of the fieldlengths is 333.

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


More information about the mythtv-commits mailing list