[mythtv] MythTV Unable to connect to database!

jack snodgrass mrlinuxgroups at gmail.com
Mon Jul 16 16:36:27 UTC 2007


On 7/16/07, khalid ashraf <khalid_eee at yahoo.com> wrote:
> Hi all,
>       I am using a FC6. Mythtv is not being able to connect to MySQL. When I
> run mythtv-setup, I get the following error message:
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> ScimInputContextPlugin()
> WARNING: please edit ~/.scim/global and change /DefaultConfigModule to
> kconfig
> 2007-07-16 16:53:57.668 Unable to connect to database!
> 2007-07-16 16:53:57.668 No error type from QSqlError?  Strange...
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2007-07-16 16:53:57.726 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> 2007-07-16 16:53:57.786 Failed to init MythContext, exiting.
> ~ScimInputContextPlugin()
>
> I changed default config module from simple to kconfig. Yet the warning
> shows. Could anyone help about it?
> Thanks in advance,
> Khalid

Make sure you have:
qt-MySQL
loaded on your system ( rpm -qa | grep qt-MySQL reports qt-MySQL-3.3.7-0.1.fc6
on my fc6 box )

I think that those errors are similar to the ones I got when I run
myth but didn't
have that gt-MySQL package loaded... it's needed but it's not listed
as a pre-req
in the .rpm packages for fedora.

jack


More information about the mythtv-dev mailing list