From: Baron Schwartz Date: January 21 2009 8:01pm Subject: Re: Recommended MySQLDump options List-Archive: http://lists.mysql.com/mysql/215995 Message-Id: <4cfa0b030901211201u50507fd3pe8aedc332808d198@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jan 21, 2009 at 12:36 AM, 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