List:General Discussion« Previous MessageNext Message »
From:Baron Schwartz Date:January 21 2009 8:01pm
Subject:Re: Recommended MySQLDump options
View as plain text  
On Wed, Jan 21, 2009 at 12:36 AM,  <mikesz@stripped> wrote:
> Hello mysql,
>
> I would like to run a PHP script to perform a CRON Database backup to
> avoid passing database credentials to the CRON process. Does this make
> sense?

I'm not sure what your question about this is, but: if you don't want
to pass credentials, use --defaults-file.  Specify the path to a
defaults file in which you have the following:

[mysqldump]
user=username
pass=secretpassword
Thread
Recommended MySQLDump optionsmikesz21 Jan
  • Re: Recommended MySQLDump optionsDaevid Vincent21 Jan
    • Re: Recommended MySQLDump optionsJohn Daisley21 Jan
  • Re: Recommended MySQLDump optionsBaron Schwartz21 Jan