View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Broken nuvexport
PostPosted: Tue Dec 28, 2004 12:32 pm 
Offline
Joined: Mon Jul 12, 2004 1:40 pm
Posts: 14
I've recently installed the newest version of nuvexport from the author's website, however I keep getting the following error when attempting to run via SSH session:

DBI connect('database=mythconverg:host=localhost','mythtv',...) failed: Access denied for user: 'mythtv@localhost' (Using password: YES) at /usr/local/share/nuvexport/mythtv/db.pm line 77

I was wondering if anyone else had experienced this.

v/r

Lentilboy


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 31, 2004 8:41 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Same problem here.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 01, 2005 2:17 am 
Offline
Joined: Sun Feb 08, 2004 8:03 am
Posts: 71
Location: Switzerland
Same problem here as well... however, managed to get it running by modifying /usr/local/share/nuvexport/mythtv/db.pm:

Search for a line beginning with (around line 33 or 34 I think):
Code:
     my @mysql = ("/usr/local/share/mythtv/mysql.txt",
                  "/usr/share/mythtv/mysql.txt",
                  ...
                 );

Make sure that only the line with "/usr/share/mythtv/mysql.txt" is taken into account. In my db.pm it looks like this now:

Code:
     my @mysql = (
#    my @mysql = ("/usr/local/share/mythtv/mysql.txt",
                  "/usr/share/mythtv/mysql.txt",
#                 "/etc/mythtv/mysql.txt",
#                 "/usr/local/etc/mythtv/mysql.txt",
#                 "$ENV{HOME}/.mythtv/mysql.txt",
#                 "mysql.txt"
                 );

I think the problem is because the script just tries to find the first mysql.txt file to extract mysql user and password out of it. The first is found at /usr/local/share/mythtv/mysql.txt but unfortunately it contains the wrong mysql user and password.

You could of course also do a
Code:
cp /usr/share/mythtv/mysql.txt /usr/local/share/mythtv/mysql.txt

to overwrite the "wrong" mysql.txt file with the correct one. Didn't try that, but should work as well.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 01, 2005 9:13 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Thanks for the reply beamland.

I had the following instances of mysql.txt on my system (the third one is there because I rebuild mythtv to enable DVB). The first two were different, the second the same as the third.

/etc/mythtv/mysql.txt
/usr/share/mythtv/mysql.txt
/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/programs/mythfrontend/mysql.txt

I tried copying both versions to /usr/local/share/mythtv/mysql.txt and each time I still got the same error. Both times, I made the file permissions 777 to make sure it wasn't a permissions issue. Making the same changes that you made to
/usr/local/share/nuvexport/mythtv/db.pm did the trick though.

Thanks again.


Top
 Profile  
 
 Post subject: nuvexport fix
PostPosted: Mon Jan 17, 2005 11:59 am 
Offline
Joined: Wed Oct 27, 2004 5:36 pm
Posts: 3
:D Thanks! I was beginning to think I would never get this working!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 79 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu