[mythtv-users] Unable to connect ot Mysql Database

R. G. Newbury newbury at mandamus.org
Sat Sep 24 00:31:04 UTC 2005


Pioneering is the business of finding new and unexpected ways of dying 
(Adam Hall: The Ninth Directive)  (But that could be Chuck Yeager's 
motto too!

Installing software is the business of finding new and unexpected errors....

I hunted down and killed the eeprom/tveeprom which-one-first error.

Now I cannot connect to the mysql database.
Mysqld is running. I can connect from the command line. By mythtv-setup 
cannot find the qsqlmysql driver.
Worse yet, under Mandriva, urpmi tells me that everything I can think of 
is installed already (and urpmi won't let you re-install in place (so to 
speak).

This is the error:

mythtv at mythbox setup]$ ./mythtv-setup
2005-09-23 20:21:19.296 Using runtime prefix = /usr
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2005-09-23 20:21:19.391 New DB connection, total: 1
2005-09-23 20:21:19.391 Unable to connect to database!
2005-09-23 20:21:19.392 No error type from QSqlError?  Strange...
2005-09-23 20:21:19.394 Unable to connect to database!
2005-09-23 20:21:19.395 No error type from QSqlError?  Strange...
2005-09-23 20:21:19.395 Database not open while trying to load setting: 
GuiVidModeResolution
2005-09-23 20:21:19.396 Unable to connect to database!
2005-09-23 20:21:19.396 No error type from QSqlError?  Strange...


And that continues for some lines.
I found the libqsqlmysql.so file. I even copied it from 
/usr/lib/qt3/plugins/sqldrivers to /usr/lib/qt3/plugins/lib/sqldrivers.
And into /usr/lib/qt3/lib/sqldrivers
.And into usr/lib/local where all the lirc stuff lives.

And I updated ld.so.conf and ran ldconfig.

No joy....Much frustration at the moment. I have 4 (or 5) copies of the 
lib scattered around but libqt3 cannot seem to find any.

Help!!!

Geoff






More information about the mythtv-users mailing list