[mythtv-users] mysql 5

Andrew Lyon andrew.lyon at gmail.com
Mon Nov 6 15:32:09 UTC 2006


Hi,

I take it mythtv doesnt work with mysql5? v5 has just been marked as
stable in gentoo portage and got upgraded on my box this morning, I
got the following errors when starting the backend:

2006-11-06 15:06:59.700 Using runtime prefix = /usr
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2006-11-06 15:06:59.716 New DB connection, total: 1
2006-11-06 15:06:59.716 Unable to connect to database!
2006-11-06 15:06:59.716 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-11-06 15:06:59.781 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2006-11-06 15:06:59.851 Failed to init MythContext, exiting.

Luckily the upgrade doesnt seem to have changed the format of the
database files on disk, I was able to downgrade mysql and everything
is working again, which is nice as I had just spent a hour tweaking
some things in the myth db and I would have lost those changes if I
had to restore the db from a backup.

Andy


More information about the mythtv-users mailing list