[mythtv-users] New install - Win 7 DB Schema will not upgrade

Joel Griffin Dodd griffindodd at gmail.com
Thu Dec 2 18:23:56 UTC 2010


This is my first ever MythTV install so please be gentle 8-)

Win 7 Ultimate 32bit
mysql 5.1.53-win322
MythTV version: 0.24 svn 27367

I create my database and make sure I set the characterset as recommended in
the wiki. Then I run mythbackend and it starts to update the schemas which
go fine until it gets to 1261. The setup fails to upgrade from there on. I
have dropped and recreated the database many times but I still get the same
issue.

console output...

c:\Program Files\mythtv\bin>mythbackend
2010-12-02 10:18:12.338 MythBackend, Warning: Unable to ignore SIGPIPE
2010-12-02 10:18:12.340 mythbackend version: branches/release-0-24-fixes
[27367]
 www.mythtv.org
2010-12-02 10:18:12.346 Using runtime prefix = C:/Program Files/mythtv
2010-12-02 10:18:12.348 Using configuration directory =
C:/Users/MAIN-MEDIA/.myt
htv
2010-12-02 10:18:12.354 Empty LocalHostName.
2010-12-02 10:18:12.355 Using localhost value of MAIN-MEDIA-PC
2010-12-02 10:18:12.361 New DB connection, total: 1
2010-12-02 10:18:12.368 Connected to database 'mythconverg' at host:
localhost
2010-12-02 10:18:12.384 Closing DB connection named 'DBManager0'
2010-12-02 10:18:12.387 Connected to database 'mythconverg' at host:
localhost
2010-12-02 10:18:12.389 Current locale en_US
2010-12-02 10:18:12.391 Reading locale defaults from C:/Program
Files/mythtv/sha
re/mythtv//locales/en_us.xml
2010-12-02 10:18:12.401 Current MythTV Schema Version (DBSchemaVer): 1261
2010-12-02 10:18:12.402 MythTV database schema is old. Waiting to see if DB
is b
eing upgraded.
2010-12-02 10:18:13.492 New DB connection, total: 2
2010-12-02 10:18:13.495 Connected to database 'mythconverg' at host:
localhost
2010-12-02 10:18:13.501 Current MythTV Schema Version (DBSchemaVer): 1261
2010-12-02 10:18:14.507 Current MythTV Schema Version (DBSchemaVer): 1261
2010-12-02 10:18:15.514 Current MythTV Schema Version (DBSchemaVer): 1261
2010-12-02 10:18:16.522 Current MythTV Schema Version (DBSchemaVer): 1261
2010-12-02 10:18:17.529 Current MythTV Schema Version (DBSchemaVer): 1261
2010-12-02 10:18:17.531 Timed out waiting.
2010-12-02 10:18:17.533 Database backups disabled on Windows.
2010-12-02 10:18:17.539 Console is non-interactive, can't prompt user...
2010-12-02 10:18:17.541 Upgrading.
2010-12-02 10:18:17.543 Newest MythTV Schema Version : 1264
2010-12-02 10:18:17.547 Upgrading to MythTV schema version 1262
2010-12-02 10:18:18.375 DB Error (Performing database upgrade):
Query was: ALTER TABLE settings MODIFY COLUMN data VARCHAR(16000)     NOT
NULL default '';
Error was: Driver error was [2/1265]:
QMYSQL: Unable to execute query
Database error was:
Data truncated for column 'data' at row 1
new version: 1262
2010-12-02 10:18:18.385 Database Schema upgrade FAILED, unlocking.
2010-12-02 10:18:18.387 Couldn't upgrade database to new schema
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101202/775442d9/attachment.htm>


More information about the mythtv-users mailing list