Hallo,
ich habe mit Hilfe von cpanel meine 1. db angelegt. Der Hostprovider-Service bestätigt mir, das es so ok sein müsste, aber ich kann trotzdem meine Applikation nicht starten.
Was könnte denn folgende Fehlermeldung verursachen:
postgres7 error: [-1: Database connection failed] in CONNECT(localhost:5432, ‘h1moodle’, ‘****’, h1moodle_pqsql)
in der config.php stehen folgende Einträge:
// database connection details
$cfg->dbtype = ‘postgres8’;
$cfg->dbhost = ‘localhost’;
$cfg->dbport = ‘5432’;
$cfg->dbname = ‘h1moodle_pqsql’;
$cfg->dbuser = ‘h1moodle_h1moodle’;
$cfg->dbpass = ‘indra5’;
$cfg->dbprefix = ‘’;
Vom Hilfeformum der Software kommt diese Erläuterung:
You may not be able to connect to the database because that user does not have permission to. PostgreSQL has a file that says which users can connect to which databases, and it may limit any connections from ‘localhost’ - i.e. over TCP/IP.
Try setting the hostname to the empty string, and the port to the empty string as well, if the database is on localhost. That way, the connection will be attempted over a unix socket.
Kann es an der postgres Version liegen. Die Applikatin erwartet 8.1+ und ich habe wohl nur 7 installiert?
Freu mich über jeden Tipp.
Schöne Osterfeiertage
Heinz