[mythtv] MythTV Unable to connect to database!
R. G. Newbury
newbury at mandamus.org
Tue Jul 17 12:46:43 UTC 2007
jack snodgrass wrote:
> 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.
And note, that when you 'yum install' the package, that package name is
case sensitive. I suspect that it is the only package we ever run across
which uses upper case letters.
Geoff
More information about the mythtv-dev
mailing list