Hi Juan Luis, db_type is correct (mysql in my case) Here is my http://www.nabble.com/file/p15755552/bacula.conf bacula.conf . DB password is hidden but correct in the production file.
Regards, Nico Juan Luis Frances wrote: > > The code: > else if ( $this->driver == "pgsql") { > $dbsize = $this->link->query("select > pg_database_size('$this->dbs_name')") > or die ("classes.inc: Error query: 4"); > > > Maybe "db_type" in bacula.conf file is wrong. If you have mysql then: > db_type = mysql > -- View this message in context: http://www.nabble.com/Bacula-web---Error-query%3A-4-tp15714690p15755552.html Sent from the Bacula - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users