[mythtv] latest cvs mythtv can't connect to database

Rob Rosenfeld mythtv.org at rosenfeld.to
Thu Dec 30 23:20:29 UTC 2004


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


More information about the mythtv-dev mailing list