Just bought the code!
We’ve confirmed that we can connect from other code from the same machine. All details are identical to how it’s defined in the documentation (plus hours of other tests!).
Any ideas?
You can try one of the following configuration in config.php OR in the array passed to constructor.
$db_conf = array();
$db_conf[“type”] = “postgres”; // mysql,oci8(for oracle),mssql,postgres,sybase
$db_conf[“server”] = “localhost”;
$db_conf[“user”] = “postgres”;
$db_conf[“password”] = “a”;
$db_conf[“database”] = “postgres”;
$db_conf = array();
$db_conf[“type”] = “pdo”;
$db_conf[“server”] = “pgsql:host=localhost”;
$db_conf[“user”] = “postgres”; // username
$db_conf[“password”] = “a”; // password
$db_conf[“database”] = “test”; // database
First one uses Postgres extension, Second PDO. If you can share the code that can connect to your server, I’ll suggest the equivalent.