[mythtv-users] errors when running perl scripts

Matt Emmott memmott at gmail.com
Thu Jun 5 01:27:49 UTC 2008


I seem to have an error when running mythrename.pl or ipodexport.pl. I have
no idea what the error really means and was hoping for some help. Here's the
error:

DBI connect('database=mythconverg:host=localhost;port=3306','mythtv',...)
failed: Access denied for user 'mythtv'@'localhost' (using password: YES) at
/usr/share/perl5/MythTV.pm line 337
Cannot connect to database:

Here's the chunk of code around line 337 in MythTV.pm:

    # Connect to the database
        $self->{'dbh'} =
DBI->connect("dbi:mysql:database=$self->{'db_name'}:host=$self->{'db_host'};port=$self->{'db_port'}",
                                      $self->{'db_user'},
                                      $self->{'db_pass'})
            or die "Cannot connect to database: $!\n\n";


So it's all variables - Where the heck do I find where it's getting its
settings? I'm running mythtv .21 on Mythbuntu 7.10. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080604/5274e3e8/attachment.htm 


More information about the mythtv-users mailing list