[mythtv] latest cvs mythtv can't connect to database
Jeremy Hanmer
jeremy at hq.newdream.net
Fri Dec 31 00:01:11 UTC 2004
I've been looking into this, too. I've been running myth since .12 or
so, and just had this same problem. It looks like it's a bug in
Gentoo's packaging of either mysql or QT, so post a bug with them. As
far as I can tell, it's got nothing at all to do with Myth.
On Dec 30, 2004, at 3:20 PM, Rob Rosenfeld wrote:
> Paul Barrette wrote:
>
>> Hi,
>> not sure how to get around this one. I installed a fresh cvs update
>> of mythtv etc and now when I run mythfrontend, I get the setup screen.
>>
>> -AMD64, gentoo, fresh install of QT, fresh checkout of src tree
>>
>> The startup error:
>> 2004-12-30 16:56:43.865 Unable to connect to database!
>> 2004-12-30 16:56:43.865 No error type from QSqlError? Strange...
>> couldn't open db
>> lirc_init failed for mythtv, see preceding messages
>> 2004-12-30 16:56:44.733 Joystick disabled.
>> 2004-12-30 16:56:46.618 User canceled database configuration
>> Unable to open database:
>> Driver error was:
>> Driver not loaded
>> Database error was:
>> Driver not loaded
>>
>> So, clearly the driver is not being loaded. There must be a new
>> driver, since this used to work. Mysql is running happily, I removed
>> the old db and added a new one just to rule that out. I can connect
>> to it from the command line.
>>
>> tail /var/log/mythtv/mythbackend.log QSqlDatabase: available drivers:
>> QSqlDatabase: QMYSQL3 driver not loaded
>> QSqlDatabase: available drivers: QSqlDatabase: QMYSQL3 driver not
>> loaded
>> QSqlDatabase: available drivers: QSqlDatabase: QMYSQL3 driver not
>> loaded
>> QSqlDatabase: available drivers: couldn't open db
>> Would you like to configure the database connection now? [yes]
>> Couldn't open database
>>
>>
>
> Is QT compiled w/ MySQL support? You need to enable the mysql use
> flag or USE="mysql" emerge qt
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
More information about the mythtv-dev
mailing list