Bacula-users

Re: [Bacula-users] mysql authorization fail ("Could not open Catalog") on a clean 5.2.5 install. what did i miss in my config?

2012-02-12 05:17:43
Subject: Re: [Bacula-users] mysql authorization fail ("Could not open Catalog") on a clean 5.2.5 install. what did i miss in my config?
From: Adrian Reyer <bacula-lists AT lihas DOT de>
To: p50bac AT 150ml DOT com
Date: Sun, 12 Feb 2012 11:15:20 +0100
On Sat, Feb 11, 2012 at 06:56:54PM -0800, p50bac AT 150ml DOT com wrote:
>       bacula-dir -d -v -t -c bacula-dir.conf
>       bacula-dir: dird.c:954 Could not open Catalog "MyCatalog",
>       database "bacula".
>       bacula-dir: dird.c:959 mysql.c:203 Unable to connect to MySQL
>       server.
>       Database=bacula User=bacula
>       MySQL connect failed either server not running or your
>       authorization is incorrect.
>       11-Feb 18:39 bacula-dir ERROR TERMINATION
>       Please correct configuration file: bacula-dir.conf

Perhaps there are different assumtions on where your mysql.sock resides?
It doesn't exactly claim 'Permission denied', 'Authorization failed' or
similar, it might as well be unable to access the socket due to
permissions or location.
You could try and connect via tcp/ip to verify, just add the
DB Address = "localhost";
statement to your catalog definition.

Catalog {
  Name = MyCatalog
  dbname = "bacula"; dbuser = "bacula"; DB Address = "localhost"; dbpassword = 
"DBPass"
}

Regards,
        Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas AT lihas DOT de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users