[mythtv-users] QT MySql error (it looks like qtmysql is installed)
Pat Lorton
klorton at indiana.edu
Tue Jan 2 19:59:15 UTC 2007
Hi, I run mythtv on a gentoo system. I recently updated to the newest
version available on portage:
~: mythbackend --version
Library API version: 0.20.20060828-3
Source code version: Unknown
Options compiled in:
linux release using_v4l using_oss using_alsa using_ivtv using_lirc
using_joystick_menu using_x11 using_xv using_xrandr using_opengl_vsync
using_opengl using_frontend using_backend using_bindings_perl
When doing so mythbackend stopped starting. The strange thing is, I did
the exact same emerge on another system that I run myth on, and it works
fine. The error I get is:
~: mythbackend
2007-01-02 14:28:16.153 Using runtime prefix = /usr
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2007-01-02 14:28:16.168 New DB connection, total: 1
2007-01-02 14:28:16.168 Unable to connect to database!
2007-01-02 14:28:16.168 No error type from QSqlError? Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-01-02 14:28:16.230 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2007-01-02 14:28:16.290 Failed to init MythContext, exiting.
I can't figure out why qmysql3 driver would get lost, the driver is
still there as far as I can tell:
~: locate mysql | grep -i qt
/usr/qt/3/plugins/sqldrivers/libqsqlmysql.so
/usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
/usr/include/qt4/Qt/qsql_mysql.h
/usr/include/qt4/QtSql/qsql_mysql.h
/usr/portage/app-office/qtstalker/files/qtstalker-no_mysql_support.patch
This list basically matches the list on my other system where I'm not
experiencing this error.
Other info:
~: mysql --version
mysql Ver 14.12 Distrib 5.0.26, for pc-linux-gnu (i686) using readline 5.1
* x11-libs/qt
Latest version available: 4.1.4-r2
Latest version installed: 4.1.4-r2
There's no package qt-mysql, but since I've never had this problem
before, I assume that is covered by having mysql in USE keywords when
building qt (which I have).
Again I didn't experience this problem with a 2 month old build, but
experience it with this newest version. Any help would be greatly
appreciated.
Thanks,
Pat Lorton
More information about the mythtv-users
mailing list