mylvmbackup-discuss team mailing list archive
-
mylvmbackup-discuss team
-
Mailing list archive
-
Message #00033
Re: patch: use ~/.my.cnf for the password
On Thu, 2009-05-07 at 12:05 +0200, Lenz Grimmer wrote:
> 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.
great!
> 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
ah, that looks like a more correct way to do it. thanks!
--
Kjetil T. Homme
Redpill Linpro AS - Changing the game
References