From: Alexei V. <al...@go...> - 2002-08-05 15:55:41
|
Hi, You should specify _correct_ user name for database connection. I think you already have valid user - pgsql. Try to set DB_USER to "pgsql". If this doesn't help, please, add "zabbix" to the list of PosgtreSQL users and assign necessary permissions (like GRANT DBA TO ZABBIX). I hope this helps. Just a small note, if you want to use Zabbix in busy production environment, I would strongly recommend switch to MySQL. PostgreSQL performance degrades very fast and even frequent VACUUMing cannot improve things. Alexei On Mon, Aug 05, 2002 at 05:37:09PM +0200, Eduard San Anselmo wrote: > Hi again (and sorry), > when typing http://localhost/zabbix in my browser for the initial > configuration, I get the following message: > *Warning*: Unable to connect to PostgreSQL server: (null) in > */var/www/html/zabbix/include/db.inc.php* on line *19* > Error connecting to database > As the manual says, I wrote on the db.inc.php: > $DB_TYPE ="POSTGRESQL"; > // $DB_TYPE ="MYSQL"; > $DB_SERVER ="localhost"; > $DB_DATABASE ="zabbix"; > $DB_USER =""; > $DB_PASSWORD =""; > Could it be that I should've created a /zabbix_db_user/ on the database? > If not, where's the problem? > As you may have noticed, I'm a newbie at zabbix, so excuse me for my > ignorance. > Thank you. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Zabbix-users mailing list > Zab...@li... > https://lists.sourceforge.net/lists/listinfo/zabbix-users |