Bacula-users

[Bacula-users] bscan and wrong mysql password

2010-07-20 05:56:02
Subject: [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 13:24:29 +0400
Hello.

What we have:
FreeBSD-8.0
bacula-client-3.0.3
bacula-server-3.0.3
ysql-client-5.1.44
mysql-server-5.1.44

I try to restore catalog records from volume and do:

bscan -p hidden -v -r -c /usr/local/etc/bacula-sd.conf 
/backup/production/server.domain.org/server.domain.org-full-0093

bscan: butil.c:282 Using device: "/backup/production/server.domain.org" 
for reading.
20-Jul 09:11 bscan JobId 0: Ready to read from volume 
"server.domain.org-full-0093" on device "server.domain.org" 
(/backup/production/server.domain.org).
20-Jul 09:12 bscan: ERROR TERMINATION at bscan.c:305
mysql.c:195 Unable to connect to MySQL server.
Database=bacula User=root
MySQL connect failed either server not running or your authorization is 
incorrect.

But it is not true:

mysql -ubacula -phidden bacula
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 88184
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> Ctrl-C -- exit!

So - why bscan failed authorization? Whats wrong?

P.S. I try to set -h localhost and I try to use root mysql auth - not helps.

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

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