Thanks for your help

The command

mysql -h192.168.1.220 -ubacula -p bacula

asks for a password. If I type bacula it fails to log in. Just pressing return 
logs in OK.

> Then, check this:
>
> host = 127.0.0.1
I'm not sure what you mean? I do have localhost defined as 127.0.0.1 in my 
hosts file.

I have been trying to learn a bit of PHP and dig down to where it goes wrong. 
It fails to connect in the constructor Bweb (defined in classes.inc). The 
parameters are correctly being picked up from the config file.

Graham Dicker


-------- Original Message --------
Subject: Re: [Bacula-users] Bacula web config (31-Aug-2005 14:34)
From:    [EMAIL PROTECTED]
To:      [email protected]

> Hello,
>
> El Martes 30 Agosto 2005 12:49, [EMAIL PROTECTED] escribió:
> > The BaculaWeb test.php works OK (and the graphics show up just fine) but
> > when I try to load index.php into my browser I just get the error message
> > "DB Error: not found". I presume something is not right with the config.
> > This is what appears in bacula.conf (omitting comments):
> >
> > [.DATABASE]
> > host = 192.168.1.220
> >
> > login = bacula
> > pass =
> > db_name = bacula
> > db_type = mysql
>
>  This is a PEAR::DB error and is a generic error that could mean that a
> field
> or table went missing.
>
> Check that the access to the database is right:
> mysql -h192.168.1.220 -ubacula -p bacula
>
>
> > One of the comments says "create a user or give it permissions to access
> > from web machine". In my case everything is running on the same SuSE 9.1
> > machine. Do I still need to do something with permissions? If so, what?
>
> Then, check this:
>
> host = 127.0.0.1
>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to