Hello,

On 2/26/2006 8:30 PM, Erik P. Olsen wrote:
Dan Langille wrote:
...
[EMAIL PROTECTED] conf]# ../bin/bacula-dir -d 99 -t -c bacula-dir.conf
bacula-dir: dird.c:128 Debug level = 99
bacula-dir: mysql.c:142 mysql_init done
bacula-dir: mysql.c:162 mysql_real_connect done
bacula-dir: mysql.c:164 db_user=bacula db_name=bacula db_password=
26-Feb 20:18 bacula-dir:  Fatal error: Could not open database "bacula".
26-Feb 20:18 bacula-dir: Fatal error: mysql.c:170 Unable to connect to MySQL server.
Database=bacula User=bacula
It is probably not running or your password is incorrect.
26-Feb 20:18 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf


Is MySQL running?


Yes


Please show us the Catalog resource from bacula-dir.conf


Catalog {
  Name = MyCatalog
  dbname = bacula; user = bacula; password = ""
}


Can you connect to mysql on the command line using the parameters in the Catalog resource?

Yes:

[EMAIL PROTECTED] ~]$ mysql -u bacula
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10 to server version: 4.1.18-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

What happens when you enter 'use bacula'?

Arno

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to