[plug] `Expect` and `cron` <http://expect.nist.gov>

James Devenish devenish at guild.uwa.edu.au
Thu Jan 6 11:38:57 WST 2005


In message <20050106032637.GB5142 at blackham.com.au>
on Thu, Jan 06, 2005 at 11:26:37AM +0800, Bernard Blackham wrote:
> On Thu, Jan 06, 2005 at 11:19:04AM +0800, James Devenish wrote:
> > /path/to/mysql --defaults-extra-file=/path/to/custom.my.cnf --batch
> Alternately, you could put this in $HOME/.my.cnf of the user running
> the job and not worry about command-line quarrels.

Except that would surely apply to *all* subsequent invocations?

> (Though I usually use "mysql" or "mysqldump, etc, in place of where
> you have "client").

Just FYI "[client]" will work for both `mysql` and `mysqldump`.





More information about the plug mailing list