Use this:
mysql defaults-file=... extra-defaults-file=... (see reference manual
for mysql)
James Harper píše v Pá 10. 09. 2010 v 15:08 +1000:
> I am trying to run a mysql query in Run After Job to update a catalogue
> record, and it's failing to log in. I suspect that it's because
> bacula-dir is
I am trying to run a mysql query in Run After Job to update a catalogue
record, and it's failing to log in. I suspect that it's because
bacula-dir is running as bacula but mysql is looking in /root for the
.my.cnf file that contains the password instead of in /var/lib/bacula
(~bacula) due to bacula