LinHES Forums
http://forums.linhes.org/

MythTV programs fail after building and installing
http://forums.linhes.org/viewtopic.php?f=6&t=1344
Page 1 of 1

Author:  nigelpearson [ Sat May 01, 2004 12:25 am ]
Post subject:  MythTV programs fail after building and installing

I have written a R4V3 DVB upgrade manual (about 170 lines). The DVB stuff all seems OK, but I have a MythTV problem. After doing this:

bzcat /usr/src/r4v3_src/mythtv-0.14/src/mythtv-0.14.tar.bz2 | tar -xvf -
cd mythtv-0.14
vi settings.pro
[Change PREFIX to /usr, find the DVB section,
uncomment the CONFIG & DEFINES,
and change the INCLUDEPATH there to /usr/include]
export QTDIR=/usr/share/qt3
./configure
qmake mythtv.pro
make
sudo make install


All mythtv programs do this:

% mythtv-setup
Unable to read configuration file mysql.txt
Unable to connect to database!
Driver error was [1/-1]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user: 'mythtv@localhost' (Using password: NO)

Unable to open database:
Driver error was:
QMYSQL3: Unable to connect
Database error was:
Access denied for user: 'mythtv@localhost' (Using password: NO)

%

Now, there should have been no database or schema changes. This is the same version of MythTv that is installed by KnoppMyth. There should be no incompatibility, right?

Has anyone else come across this problem?

Cesman, are there any database config options you used when building the mythtv package?

Author:  cesman [ Sat May 01, 2004 12:46 pm ]
Post subject: 

The password is incorrect, it should be:q2dUSRDq

Author:  nigelpearson [ Sun May 02, 2004 6:10 am ]
Post subject: 

OK. Thanks, but where is this set in the source code?

Author:  cesman [ Sun May 02, 2004 9:38 am ]
Post subject: 

mysql.txt some where under the source... I don't remember where should be easy enough for you to find.

Author:  nigelpearson [ Mon May 03, 2004 2:10 am ]
Post subject: 

vi programs/mythfrontend/mysql.txt
[Change Password to q2dUSRDq]
sudo make install

Error still manifest.

sudo chgrp mythtv /etc/mythtv/mysql.txt /usr/share/mythtv/mysql.txt
sudo chmod +r /etc/mythtv/mysql.txt

However, none of these fixed the above mentioned error :-(
Anyway, I have a sort of workaround. Just installing libmythtv seems to enable DVB support, so I will post the document as is for someone else to verify.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/