[mythtv-users] Can't connect to MYSQL

R. G. Newbury newbury at mandamus.org
Mon Nov 22 15:06:04 UTC 2010


On 11/21/2010 09:53 PM, Mike A wrote:
> Still can't connect, but I have more info. When mythtv-setup executes a
> terminal window appears with event messages but is only visible a very
> short time since the mythtv screen comes up and covers everything. After
> running it several times I was able to piece together the following
> messages.
>
> Runtime prefix /usr
> Using config dir ~/.mythv
> Using local hose value of localhost
> SQL Database: QMYSQL3 driver not loaded
> SQL Database: available drivers:
> Unable to init db connection
> New Database connection Total:1
> SQL Database Opendatabase(): db object is not valid
>
> It seems I am missing a driver. Does the 3 in QMYSQL3 mean Qt3. I do not
> have qt3 installed, just qt4. However since I installed mythtv with
> Ubuntu 10.4 distribution packages, I would think they would include any
> qt3 libs.
>
> Anybody know what qt3 package I need to install?
>

You are probably missing a '-devel' package. This is a list of the 
required dependencies under Fedora 12 taken from an install script. The 
names unfortunately WILL be different on Ubuntu.

yum -y install \
         qt qt-devel qt-MySQL mysql-devel \
         qt4 qt4-devel qt4-mysql perl-DBD-MySQL \
         qt4-x11 WebKit-qt WebKit-qt-devel


My wild-eyed-guess is that you are missing qt4-devel.

The wiki lists 'libqt3-mt-mysql' as a dependency for Ubuntu Feisty.

Another page lists 'libqt4-dev' for Mythbuntu Karmic (and does not list 
libqt3-mt-mysql).
Presumably the others are part of the 'usual' install.

The differing package names is a real difficulty in deducing what has 
gone wrong when there are different distros involved. Neither of those 
names matches with Fedora...


Geoff

              R. Geoffrey Newbury			


More information about the mythtv-users mailing list