Bacula-users

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

2010-07-20 15:05:59
Subject: Re: [Bacula-users] bscan and wrong mysql password
From: Dan Langille <dan AT langille DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 20 Jul 2010 15:03:19 -0400
On 7/20/2010 8:11 AM, Proskurin Kirill wrote:
> 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)
>

I don't know what man page you're looking at, but that's what where I 
got my information.  :)

-- 
Dan Langille - http://langille.org/

------------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>