Bacula-users

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

2010-07-20 07:15:21
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 07:13:06 -0400
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.

> /usr/local/etc/bacula-sd.conf
> /backup/production/server.domain.org/server.domain-full-0093
> bscan: butil.c:282 Using device: "/backup/production/server.domain.org"
> for reading.
> 20-Jul 11:02 bscan JobId 0: Ready to read from volume
> "server.domain-full-0093" on device "server.domain.org"
> (/backup/production/server.domain.org).
> 20-Jul 11:02 bscan: ERROR TERMINATION at bscan.c:305
> mysql.c:195 Unable to connect to MySQL server.
> Database=bacula User=bacula
> MySQL connect failed either server not running or your authorization is
> incorrect.
>
>
> apollo# mysql -ubacula -phidden -h localhost bacula
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 88794
> Server version: 5.1.44 FreeBSD port: mysql-server-5.1.44
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input
> statement.
>
> mysql>  quit
> Bye
>


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