[Mapbender-users] mapbender connects to wrong database
vollbotz
volker.emmel at lwk-rlp.de
Thu Jul 24 10:01:03 EDT 2008
hi list,
if i call http://200.1.XX.XX:8080/mapbender/tools/mapbender_setup.php
i got the message:
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL
server: FATAL: database "apache" does not exist in
/usr/local/fgs/www/htdocs/mapbender/http/php/database-pgsql.php on line 97
the rest of the page works well..
PROBLEM: i never have chosen a database called apache. i only got a user
with this name.
i thing i have checked all important files like:
httpd.conf mapbender.conf php.ini pg_hba.conf postgresql.conf apache.conf
...
>> there will be nerver defined a database called apache !!!
Theres also that error if i want to print from a mapbender-gui...
-----------
...my mapbender.conf part:
else {
define("DBSERVER", "200.1.50.21");
define("PORT", "5432");
define("DB", "mapbender");
define("OWNER", "postgres");
define("PW", "postgres");
#define("MD5", "true");
include_once("./../http/php/database-pgsql.php");
-----------
>>> these are the same definitions like the definitions shown down on this
>>> page at >> mapbender.conf check<<
really dont know what to do again ...
hope someone got more inspiration... ;-)
thanks v°!
--
View this message in context: http://www.nabble.com/mapbender-connects-to-wrong-database-tp18632525p18632525.html
Sent from the mapbender-users mailing list archive at Nabble.com.
More information about the Mapbender_users
mailing list