[mythtv-users] QMYSQL3 QT MySql driver not found during mythtv SETUP

Paul Volkaerts paul.volkaerts at lineone.net
Thu Aug 26 20:22:12 EDT 2004


You are probably running a version of QT that does not have MYSQL support
compiled in.  If you compiled QT yourself; simply recompile it with the
appropriate option set in ./configure.   If you are using QT binaries you
need to use your package manager to get the QT binary that has MYSQL
support.  I don't know Mandrake at all to know how to do this; but in FC2 if
you do a "yum list" you see several binaries for QT and some have MYSQL
compiled in.
  -----Original Message-----
  From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org]On Behalf Of Inconnu Homme
  Sent: 27 August 2004 00:55
  To: mythtv-users at mythtv.org
  Subject: [mythtv-users] QMYSQL3 QT MySql driver not found during mythtv
SETUP


  I am installing MythTV on a Mandrake 10.0 system. I downloaded Mysql 4.0.x
and built it, downloaded the QT3 package and compiled it with the following
configuration statement:


./configure -I/usr/local/mysql/include -thread -plugin-sql-mysql -qt-sql-mys
ql -prefix /usr/lib/qt3

  My /etc/ld.so.conf contains /usr/lib/qt3

  Mysql runs fine as shown below...but when I do the
/usr/local/mythtv/setup/setup command, I get the following. I have included
the directory listins I consider relevant. Any help would be appreciated!!

  TIA,
  Martin


  [root at 172 qt3]# cd /usr/local/mythtv/setup/
  [root at 172 setup]# ./setup
  Unable to connect to database!
  Driver error was [1/2002]:
  QMYSQL3: Unable to connect
  Database error was:
  Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

  Unable to open database:
  Driver error was:
  QMYSQL3: Unable to connect
  Database error was:
  Can't connect to local MySQL server throug! h socket '/tmp/mysql.sock' (2)
  [root at 172 setup]#


  [root at 172 qt3]# pwd
  /usr/lib/qt3
  [root at 172 qt3]# ls -l lib
  total 19796
  -rw-r--r--  1 root root  8451664 Aug 25 16:18 libdesignercore.a
  -rw-r--r--  1 root root      789 Aug 25 15:07 libdesignercore.prl
  -rw-r--r--  1 root root   548792 Aug 25 16:21 libeditor.a
  -rw-r--r--  1 root root      723 Aug 25 15:07 libeditor.prl
  -rw-r--r--  1 root root    51030 Aug 25 15:44 libqassistantclient.a
  -rw-r--r--  1 root root      734 Aug 25 15:07 libqassistantclient.prl
  -rw-r--r--  1 root root      839 Aug 25 15:07 libqnp.prl
  -rw-r--r--  1 root root      779 Aug 25 09:29 libqt.la
  -rw-r--r--  1 root root      810 Aug 25 15:07 libqt-mt.la
  -rw-r--r--  1 root root      730 Aug 25 15:07 libqt-mt.prl
  lrwxrwxrwx  1 root root       17 Aug 25 15:42 libqt-mt.so ->
libqt-mt.so.3.3.3*
  lrwxrwxrwx  1 root root       17 Aug 25 15:42 libqt-mt.so.3 ->
libqt-mt.so.3.3.3*
  lrwxrwxrwx  1 root root       17 Aug 25 15:42 libqt-mt.so.3.3 ->
libqt-mt.so.3.3.3*
  -rwxr-xr-x  1 root root 10782343 Aug 25 15:42 libqt-mt.so.3.3.3*
  -rw-r--r--  1 root root      665 Aug 25 09:29 libqt.prl
  -rw-r--r--  1 root root      636 Aug 25 15:07 libqui.prl
  lrwxrwxrwx  1 root root       15 Aug 25 15:48 libqui.so ->
libqui.so.1.0.0*
  lrwxrwxrwx  1 root root       15 Aug 25 15:48 libqui.so.1 ->
libqui.so.1.0.0*
  lrwxrwxrwx  1 root root      ! ; 15 Aug 25 15:48 libqui.so.1.0 ->
libqui.so.1.0.0*
  -rwxr-xr-x  1 root root   332679 Aug 25 15:48 libqui.so.1.0.0*
  -rw-r--r--  1 root root      906 Aug 25 15:07 qt-mt.pc
  -rw-r--r--  1 root root      851 Aug 25 09:29 qt.pc
  -rw-r--r--  1 root root       63 Aug 25 09:29 README
  [root at 172 qt3]# ls -l plugins/sqldrivers/
  total 256
  -rwxr-xr-x  1 root root 255611 Aug 25 15:44 libqsqlmysql.so*
  [root at 172 qt3]# mysqladmin version
  mysqladmin  Ver 8.40 Distrib 4.0.18, for mandrake-linux-gnu on i586
  Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
  This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  and you are welcome to modify and redistribute it under the GPL license

  Server version          4.0.18
  Protocol version        10
  Connection              Localhost via UNIX socket
  UNIX socket             /var/lib/mysql/mysql.sock
  Uptime:                 32 min 9 sec






----------------------------------------------------------------------------
--
  Do you Yahoo!?
  Y! Messenger - Communicate in real time. Download now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20040827/8ad5ac8b/attachment.htm


More information about the mythtv-users mailing list