Re: [Bacula-users] Bacula mysql problem
2011-01-27 14:42:18
---Guy
(via iPhone)
On 27 Jan 2011, at 19:20, John Drescher <drescherjm AT gmail DOT com> wrote:
> 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
Was this a typo.
>> passoword=”password”
Password is Spelt wrong in your config file
--- Guy
------------------------------------------------------------------------------
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
|
|
|