[mythtv-users] errors when running perl scripts
carlfongheiser at gmail.com
Thu Jun 5 01:47:11 UTC 2008
On Wed, Jun 4, 2008 at 8:27 PM, Matt Emmott <memmott at gmail.com> wrote:
> 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
> 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:
Have you tried connecting to MySQL from the command line?
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!
It pulls them out of $MYTHCONFDIR/config.xml, if MYTHCONFDIR is defined.
Otherwise, it uses $HOME/.mythtv/config.xml.
If that doesn't work, it tries to use UPnP.
It's not really bad code to read.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users