[mythtv-commits] Re: Ticket #805: DB error (performing database
upgrade) 1119 to 1120
MythTV
mythtv at cvs.mythtv.org
Wed Dec 14 12:11:49 EST 2005
#805: DB error (performing database upgrade) 1119 to 1120
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: bjm
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium | Resolution:
-----------------------+----------------------------------------------------
Comment (by tom at redpepperracing.com):
I had the exact same problem as a.peterson:
{{{
2005-12-14 11:45:43.970 Current Schema Version: 1119
2005-12-14 11:45:44.058 Newest Schema Version : 1120
2005-12-14 11:45:44.230 Setting Lock for Database Schema upgrade. If you
see a long pause here it means the Schema is alread
y locked and is being upgraded by another Myth process.
2005-12-14 11:45:44.324 New DB connection, total: 2
2005-12-14 11:45:44.427 Upgrading to schema version 1120
2005-12-14 11:47:21.058 DB Error (Performing database upgrade):
Query was: UPDATE playgroup SET jump = (SELECT data FROM settings WHERE
value = 'JumpAmount' GROUP BY value) WHERE name = '
Default';
Error was: Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax. Check the manual that corresponds
to your MySQL server version for the right syntax t
o use near 'SELECT data FROM settings WHERE value = 'JumpAmount' GROUP BY
new version: 1120
2005-12-14 11:47:23.875 Database Schema upgrade FAILED, unlocking.
2005-12-14 11:47:25.282 Couldn't upgrade database to new schema
}}}
It added the 'jump' column to playgroup, but it doesn't appear to be able
to execute the update command correctly. I manually updated playgroup, and
manually bumped the DBSchemaVer to 1120 and now my backend actually
starts.
Tom
PS Mysql version:
mysqld Ver 4.0.22-log for pc-linux on i386 (Source distribution)
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/805>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list