[Kern Sibbald]:
>> [Chandranshu]:
>> > [I] modified the code in src/cats/mysql.c to print the error
>> > message returned by mysql_error(). Then, I compiled and ran the
>> > code to see the most dubious error in my DBA career:
>> > Error 2002 (HY000): Can't connect to local MySQL server through
>> > socket '/var/lib/mysql/mysql.sock' (2)
>
> Yes, I would like to see the code before making any definitive
> statement.  Generally any amount of debug code is appreciated,
> though we would probably put something volumous or something a bit
> unlikely on a debug of 400 or greater.  Debug of 100 is a *very*
> small number for Bacula.  Virtually nothing is less than 100 except
> debug code for sockets which is at 50 and possibly some debug code a
> developer was using and forgot to increase to more than 100 ...

IMHO, fatal errors like the above should be reported even with debug
level 0.

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to