← Back to team overview

mylvmbackup-discuss team mailing list archive

Re: patch: use ~/.my.cnf for the password

 

Hi Kjetil,

On 05/06/2009 06:26 PM, Kjetil Torgrim Homme wrote:

> I don't like to store the admin password for MySQL many places, so this
> patch will use $HOME/.my.cnf if no password has been provided and the
> file exists.

Thanks for this patch, and the other one about keeping snapshots! I'm looking
into integrating the latter one.

I actually already incorporated a patch for reading ~/.my.cnf into the trunk,
which was provided by Baron Schwartz a while ago - DBD:mysql already supports
this, I just had to enable it. Could you take a look at the following patch
and let me know if it would work for you as well?

http://bazaar.launchpad.net/~lenzgr/mylvmbackup/trunk/revision/101#mylvmbackup.pl.in

Thanks!

Bye,
	LenZ
-- 
------------------------------------------------------------------
 Lenz Grimmer <lenz@xxxxxxxxxxx>                             -o)
 [ICQ: 160767607 | Jabber: LenZGr@xxxxxxxxxx]                /\\
 http://www.lenzg.org/                                       V_V

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References