[mythtv-users] 0.22 database schema upgrade fails driver not loaded

Chris Tepe cstepe at ctdataservices.com
Thu Nov 5 19:12:56 UTC 2009


I had myth 0.21 running on my CentOS 5.3 box.  Upgraded to 0.22.  When I 
run mythtv-setup it attempts to update the schema but fails.
2009-11-05 13:36:06.170 mythbackend version: 
branches/release-0-22-fixes/mythtv/ [22680] www.mythtv.org
2009-11-05 13:36:06.353 Using runtime prefix = /usr
2009-11-05 13:36:06.399 Using configuration directory = /var/lib/mythtv
2009-11-05 13:36:06.673 Unable to read configuration file mysql.txt
2009-11-05 13:36:06.695 Empty LocalHostName.
2009-11-05 13:36:06.696 Using localhost value of mythcentos.tepehome.info
2009-11-05 13:36:06.955 New DB connection, total: 1
2009-11-05 13:36:07.289 Connected to database 'mythconverg' at host: 
localhost
2009-11-05 13:36:07.557 Closing DB connection named 'DBManager0'
2009-11-05 13:36:07.930 Connected to database 'mythconverg' at host: 
localhost
2009-11-05 13:36:08.501 Current MythTV Schema Version (DBSchemaVer): 1215
2009-11-05 13:36:08.892 MythTV database schema is old. Waiting to see if 
DB is being upgraded.
2009-11-05 13:36:10.113 New DB connection, total: 2
2009-11-05 13:36:10.692 Connected to database 'mythconverg' at host: 
localhost
2009-11-05 13:36:11.292 Current MythTV Schema Version (DBSchemaVer): 1215
2009-11-05 13:36:12.662 Current MythTV Schema Version (DBSchemaVer): 1215
2009-11-05 13:36:13.758 Current MythTV Schema Version (DBSchemaVer): 1215
2009-11-05 13:36:14.970 Current MythTV Schema Version (DBSchemaVer): 1215
2009-11-05 13:36:15.502 Timed out waiting.
2009-11-05 13:36:20.313 Backing up database with script: 
'/usr/share/mythtv/mythconverg_backup.pl'
2009-11-05 13:37:04.965 Database Backup complete.
2009-11-05 13:37:05.009 Backed up database to file: 
'/mnt/video/drive1/Storage/recordings/mythconverg-1215-20091105133620.sql.gz'
2009-11-05 13:37:05.080 Console is non-interactive, can't prompt user...
2009-11-05 13:37:05.083 Upgrading.
2009-11-05 13:37:05.121 Newest MythTV Schema Version : 1244
QSqlQuery::exec: database not open
2009-11-05 13:37:09.922 DB Error (Unable to perform test for database 
corruption before character set conversion.):
Query was:

Driver error was [1/-1]:
Driver not loaded
Database error was:
Driver not loaded

2009-11-05 13:37:09.923 Database Schema upgrade FAILED, unlocking.
2009-11-05 13:37:09.924 Couldn't upgrade database to new schema

Chris


More information about the mythtv-users mailing list