[mythtv-users] OS X connect to database problem

Piers Kittel mythtv at biased.org
Sun Jul 3 10:47:43 EDT 2005


Hi all,

Due to other reasons, I have had to upgrade my backend to the SVN 
version, and thus I need to compile the MacOSX frontend with the source 
from SVN/CVS.

I followed the instructions from:

http://www.mythtv.info/moin.cgi/MythOnMacOsx

and followed the instructions on how to set up OSX to be able to compile 
MythTV.  Anyway, then I duly downloaded mythtv using SVN and then 
compiled it by:

cd src
svn co http://cvs.mythtv.org/svn/trunk/mythtv
cd mythtv
./configure
qmake mythtv.pro
make

it worked fine, and installed it fine using:

sudo make install

and the frontend shows the correct version:

piers-kittels-mac-mini:~/src pierskittel$ 
/usr/local/bin/mythfrontend.app/Contents/MacOS/mythfrontend --version
0.18.20050523-1
Options compiled in:
  release using_frontend
piers-kittels-mac-mini:~/src pierskittel$

It runs fine when I use:

/usr/local/bin/mythfrontend.app/Contents/MacOS/mythfrontend

but shows the config screen, everything is set up correctly, I press 
"next" twice, and the frontend exits with the messages:

2005-07-03 15:25:37.757 Unable to connect to database!
2005-07-03 15:25:37.757 No error type from QSqlError?  Strange...
2005-07-03 15:25:37.757 Failed to init MythContext, exiting.

Looking back upwards, the reason for this is:

piers-kittels-mac-mini:~ pierskittel$ 
/usr/local/bin/mythfrontend.app/Contents/MacOS/mythfrontend
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2005-07-03 15:25:22.854 New DB connection, total: 1
2005-07-03 15:25:22.856 Unable to connect to database!
2005-07-03 15:25:22.857 No error type from QSqlError?  Strange...
2005-07-03 15:25:22.883 Unable to connect to database!
2005-07-03 15:25:22.883 No error type from QSqlError?  Strange...
2005-07-03 15:25:22.883 Database not open while trying to load setting: 
GuiVidModeResolution
2005-07-03 15:25:22.883 Unable to connect to database!
<blah blah>

So the QMYSQL3 driver isn't loaded... but how do I do this?

Trying a precompiled 0.18.1 binary, works perfectly fine but will not 
connect to my backend only because of a version mismatch.  What am I 
doing wrong here?

Any help here would be extremely grateful.

Thanks very much for your help in advance

Cheers - Piers


More information about the mythtv-users mailing list