mysql +qt +mythtv +Suse 10.0
Another strange problem. Seems like I have more than my share. When I execute mythtvbackend to start it, I get: QSqlDatabase: QMYSQL3 driver not loaded QSqlDatabase: available drivers: QPSQL7 2006-01-23 00:31:56.984 New DB connection, total: 1 2006-01-23 00:31:56.985 Unable to connect to database! 2006-01-23 00:31:56.985 No error type from QSqlError? Strange... 2006-01-23 00:31:56.986 Failed to init MythContext, exiting. afore@sha-server:~> qDebug( (QSqlDatabase::drivers()).join( ", " ) ) ; bash: syntax error near unexpected token `(' I do a "rpm -qa | grep -i qt" and get: php4-qtdom-4.4.0-6 dbus-1-qt-0.35.2-8 qt3-postgresql-3.3.4-28 qt3-3.3.4-28.3 yast2-qt-2.12.12-2 qt3-mysql-3.3.5-22 gtk-qt-engine-0.6cvs20050229-11 sha-server:~ # rpm -qa | grep -i qt php4-qtdom-4.4.0-6 dbus-1-qt-0.35.2-8 qt3-postgresql-3.3.4-28 qt3-3.3.4-28.3 yast2-qt-2.12.12-2 qt3-mysql-3.3.5-22 gtk-qt-engine-0.6cvs20050229-11 I found this on the internet, but it does not seem to work: qDebug( (QSqlDatabase::drivers()).join( ", " ) ) ; -bash: syntax error near unexpected token `(' So it seems mythtvbackend cannot find the QMYSQL3 driver, even though it is installed. Found it in /usr/lib/qt3/plugins/sqldrivers. Question is, how can I get that driver loaded? Art
On 1/23/06, Art Fore
sha-server:~ # rpm -qa | grep -i qt php4-qtdom-4.4.0-6 dbus-1-qt-0.35.2-8 qt3-postgresql-3.3.4-28 qt3-3.3.4-28.3 yast2-qt-2.12.12-2 qt3-mysql-3.3.5-22 gtk-qt-engine-0.6cvs20050229-11
Here' mine:
rpm -qa | grep -i qt qt3-mysql-3.3.4-28 qt-sql-4.0.1-10 qt3-devel-3.3.4-28 yast2-qt-2.12.12-2 qt-4.0.1-10 qt3-3.3.4-28.3 qt-sql-mysql-4.0.1-10
Looks like you do not have qt-sql-mysql. -- Svetoslav Milenov (Sunny)
On Mon, 2006-01-23 at 08:51 -0500, Sunny wrote:
On 1/23/06, Art Fore
wrote: sha-server:~ # rpm -qa | grep -i qt php4-qtdom-4.4.0-6 dbus-1-qt-0.35.2-8 qt3-postgresql-3.3.4-28 qt3-3.3.4-28.3 yast2-qt-2.12.12-2 qt3-mysql-3.3.5-22 gtk-qt-engine-0.6cvs20050229-11
Here' mine:
rpm -qa | grep -i qt qt3-mysql-3.3.4-28 qt-sql-4.0.1-10 qt3-devel-3.3.4-28 yast2-qt-2.12.12-2 qt-4.0.1-10 qt3-3.3.4-28.3 qt-sql-mysql-4.0.1-10
Looks like you do not have qt-sql-mysql.
-- Svetoslav Milenov (Sunny)
Installed those packagaes, now they show up. Still the same. Svetoslav, could you email me the contents of your /usr/lib/qt3/plugins/sqldrivers please? I will try that way. Art
On Mon, 2006-01-23 at 08:45 -0800, Art Fore wrote:
On Mon, 2006-01-23 at 08:51 -0500, Sunny wrote:
On 1/23/06, Art Fore
wrote: sha-server:~ # rpm -qa | grep -i qt php4-qtdom-4.4.0-6 dbus-1-qt-0.35.2-8 qt3-postgresql-3.3.4-28 qt3-3.3.4-28.3 yast2-qt-2.12.12-2 qt3-mysql-3.3.5-22 gtk-qt-engine-0.6cvs20050229-11
Problem was I had qt3-mysql-.3.5. Replaced it with the 3.4 version and it fixed it. Now to figure out the rest of mythtv capabilities. Art
participants (2)
-
Art Fore
-
Sunny