Actually, yes. I have changed the names of the user/machine in the
output above, but I have have created a user in mysql database and add
all privileges on bacula whith grant.
I wonder if bscan can find the mysql server. I have used the option -h
machinename.mydomain.com. Is that correct?
BTW here's the command I'm using:
bscan -c /etc/bacula/bacula-sd.conf -h machinename.mydomain.com -u
root AT machinename.mydomain DOT com -P password -v -V Machine10-Diff-0002
/data/machine10
root AT machinename.mydomain DOT com has all privileges on bacula database on
machinename.mydomain.com
2010/3/29 Phil Stracchino <alaric AT metrocast DOT net>:
> On 03/28/10 17:02, Jean-François Leroux wrote:
>> Oops, when I try and connect from my sd machine to the director I get this:
>>
>> bscan: butil.c:269 Using device: "/data/machine10" for reading.
>> 28-Mar 22:58 bscan: Ready to read from volume "Machine10-Diff-0002" on
>> device "Machine10-Device" (/data/machine10).
>> bscan: acquire.c:200 jcr->dcr=0x80bcd08
>> 28-Mar 22:58 bscan: ERROR TERMINATION at bscan.c:277
>> mysql.c:164 Unable to connect to MySQL server.
>> Database=bacula User=root AT machine10.mydomain DOT com
>> It is probably not running or your password is incorrect.
>>
>> Mysql is running however end password is correct...
>
> But does that user *from that machine* have permissions to access the
> database? You may have to perform a GRANT.
>
>
> --
> Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
> alaric AT caerllewys DOT net alaric AT metrocast DOT net phil AT
> co.ordinate DOT org
> Renaissance Man, Unix ronin, Perl hacker, Free Stater
> It's not the years, it's the mileage.
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|