[mythtv-users] Password error on optimize_mythdb.pl

Greg gregl at nycap.rr.com
Sat Feb 24 18:23:20 UTC 2018



On 02/24/2018 12:05 PM, Don Brett wrote:
> I recently migrated from 12.04 to 16.04.  optimize_mythdb.pl worked 
> fine on the older version, but I get a password error on this one.
>
> don at nick:~/Downloads$ sudo perl 
> /usr/share/doc/mythtv-backend/contrib/maintenance/optimize_mythdb.pl
>
> 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 373.
> Cannot connect to database:
>
> Mythtv generally works fine and config.xml has the correct password.  
> Is there a password change somewhere else to correct?
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
I just ran it from a terminal and it runs fine.. I don't believe you 
need sudo.. Give it a try..


More information about the mythtv-users mailing list