Re: [Bacula-users] mysql query in Run After Job

2010-09-10 Thread Marek Šimon
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

[Bacula-users] mysql query in Run After Job

2010-09-09 Thread James Harper
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