[mythtv-commits] Ticket #7612: mythconverg_backup.pl bails on MySQL passwords with special characters
MythTV
mythtv at cvs.mythtv.org
Thu Nov 19 07:02:07 UTC 2009
#7612: mythconverg_backup.pl bails on MySQL passwords with special characters
----------------------------------------+-----------------------------------
Reporter: comptona@… | Owner: mdean
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Contributed Scripts & Apps | Version: head
Severity: medium | Mlocked: 0
----------------------------------------+-----------------------------------
My MythTV database password includes a # (thanks goodpassword.com!), and
the mythconverg_backup script fails:
{{{
mysqldump exited with status: 2
mysqldump output:
mysqldump: Got error: 1045: Access denied for user 'mythtv'@'localhost'
(using password: YES) when trying to connect
}}}
I found that surrounding the password in the defaults file with quotes
fixes this issue. I've attached a patch for mythconverg_backup.pl;
presumably a similar issue/fix exists with the restore script, but I
haven't had the chance to test it. The bug exists in the current trunk
version of this script (which I downloaded per
http://www.mythbuntu.org/Upgrading).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7612>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list