Error Access denied for user 'mythtv'@'localhost' (using password: YES)

48 views
Skip to first unread message

frankO

unread,
Mar 2, 2011, 5:30:14 AM3/2/11
to mythdroid-users
Hi,
I am trying to run mdd.pl on my backend.

sudo perl mdd.pl --backend

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 345
Cannot connect to database:

I presume I get this error because the password is wrong.
Where does the script pickup the password.?

Or is it some other problem.

Thanks
Frank

foo bar

unread,
Apr 2, 2011, 9:16:04 AM4/2/11
to mythdro...@googlegroups.com
Hi Frank,

On 2 March 2011 10:30, frankO <frank....@gmail.com> wrote:
> sudo perl mdd.pl --backend
>
> 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 345
> Cannot connect to database:
>
> I presume I get this error because the password is wrong.
> Where does the script pickup the password.?

The MythTV perl bindings are responsible for managing connections to
the database.

They will use the settings cached in $HOME/.mythtv/config.xml if
present and attempt to retrieve them via UPnP if not.

Suggest checking the username and password in $HOME/.mythtv/config.xml
- especially if your db password has recently changed.

Regards,

foobum

Reply all
Reply to author
Forward
0 new messages