Bacula-users

Re: [Bacula-users] Bacula mysql problem

2011-01-27 14:22:54
Subject: Re: [Bacula-users] Bacula mysql problem
From: John Drescher <drescherjm AT gmail DOT com>
To: "Laxansh K. Adesara" <laxansh AT anatec DOT com>
Date: Thu, 27 Jan 2011 14:20:01 -0500
2011/1/27 Laxansh K. Adesara <laxansh AT anatec DOT com>:
> Hi,
>
>
>
> After some headaches configuring bacula-dir I have another problem. When I
> try to test bacula-dir I get following error
>
>
>
> Bacula-dir: Fatal error : could not open Catalog “MyCatalog”, database
> “bacula”.
>
> Bacula-dir: Fatal error : mysql.c: unable to connect to MySQL server.
>
> Database=bacula User=bacula
>
> IT is probably not running or your password is incorrect.
>
> Bacula-dir error termination
>
> Please correct configuration file: bacula-dir.conf
>
>
>
> MySQL is not the problem because whenever I type:mysql –u bacula –p and I
> can connect by entering password in the next step.
>
>
>
> So, what’s wrong here?
>
>
>
> My catalog from bacula-dir.conf file :
>
>
>
> Catalog {
>
>     Name = MyCatalog
>
>     #Uncomment the following line if you want the dbi driver
>
>     #dbdriver = “dbi:sqlite3”; dbaddress =127.0.0.1; dbport=
>
>     Dbname = bacula; DB Address =IP address ; dbuser = “bacula”
> passoword=”password”
>
>  }
>
>
>
> Here I have tried 127.0.0.1 and localhost but if I use this then bacula-dir
> does not run for even 1 sec. but by entering IP Address atleast it runs for
> 40 sec. That’s really weird but fact. Can any1 please tell me what would be
> the solution?
>
>

Have you created the database yet? I ask that because in the other
thread you had not created or initialized the database.

John

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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>