Bacula-users

Re: [Bacula-users] bscan and wrong mysql password

2010-07-20 08:13:59
Subject: Re: [Bacula-users] bscan and wrong mysql password
From: Proskurin Kirill <proskurin-kv AT fxclub DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 20 Jul 2010 16:11:00 +0400
On 20/07/10 15:13, Dan Langille wrote:
> On 7/20/2010 7:05 AM, Proskurin Kirill wrote:
>> On 20/07/10 14:59, Proskurin Kirill wrote:
>>> On 20/07/10 14:48, Dan Langille wrote:
>>>
>>>>> mysql.c:195 Unable to connect to MySQL server.
>>>>> Database=bacula User=root
>>>>
>>>> That is user root
>>>>
>>>>> MySQL connect failed either server not running or your
>>>>> authorization is
>>>>> incorrect.
>>>>>
>>>>> But it is not true:
>>>>>
>>>>> mysql -ubacula -phidden bacula
>>>>
>>>> This is user bacula
>>>
>>> It is a misstype, sorry.
>>> Of course I use user bacula, db bacula, right pass and -h localhost.
>>> But it is still get auth failed.
>>>
>>> I check it really many times - I can successfully auth via mysql but
>>> can`t via bscan.
>>>
>>
>> Here all this again:
>>
>> apollo# bscan -ubacula -phidden -h localhost -v -r -c
>
> I think you want -P, not -p.

Wow - it works! Thank you!
In man page it is:

-p password
               Specify database password (default: none)

And nothing about a -P


-- 
Best regards,
Proskurin Kirill

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users