[mythtv] MythTV Unable to connect to database!

Brad DerManouelian myth at dermanouelian.com
Mon Jul 16 11:28:10 UTC 2007


On Jul 16, 2007, at 4:08 AM, khalid ashraf 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

You should probably re-read section 6.2 of the documentation. There  
are many reasons you would not be able to connect to your database.
http://www.mythtv.org/docs/mythtv-HOWTO-6.html#ss6.2



More information about the mythtv-dev mailing list