Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #7612: mythconverg_backup.pl bails on MySQL passwords with special characters

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Nov 18, 2009, 11:02 PM

Post #1 of 2 (409 views)
Permalink
Ticket #7612: mythconverg_backup.pl bails on MySQL passwords with special characters

#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
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 2, 2009, 9:01 PM

Post #2 of 2 (293 views)
Permalink
Re: Ticket #7612: mythconverg_backup.pl bails on MySQL passwords with special characters [In reply to]

#7612: mythconverg_backup.pl bails on MySQL passwords with special characters
----------------------------------------+-----------------------------------
Reporter: comptona@… | Owner: mdean
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: Contributed Scripts & Apps | Version: head
Severity: medium | Resolution: fixed
Mlocked: 0 |
----------------------------------------+-----------------------------------
Changes (by mdean):

* status: new => closed
* resolution: => fixed


Comment:

(In [22950]) Fixes #7612. Allow backup and restore scripts to work with
#, ', ", and whitespace in passwords. Thanks to comptona for finding the
issue and a fix.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7612#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.