Postgres not connecting

QuestionsPostgres not connecting
David asked 11 years ago

Hi!

I get this error message, when I to connect using Postgres 9.3

I did this

// set up DB
$db_conf = array();
$db_conf["type"] = "postgres"; // mysql,oci8(for oracle),mssql,postgres,sybase
$db_conf["server"] = "localhost:5432";
$db_conf["user"] = "postgres";
$db_conf["password"] = "abc2014";
$db_conf["database"] = "kpi";
// set your db encoding — for ascent chars (if required)
//mysql_query("SET NAMES 'utf8'");

// include and create object
include("inc/jqgrid_dist.php");
$g = new jqgrid();

// set few params
$grid["caption"] = "Sample Grid";
$grid["multiselect"] = true;
$g->set_options($grid);

// set database table for CRUD operations
$g->table = "r_transformation";

I tried using standard connection test, it works.

<?php
include 'adodb5/adodb.inc.php';

$host = 'localhost';
$user = 'postgres';
$pass = 'abc2014';
$dbname = 'kpi';

$conn1 = &ADONewConnection('postgres');
$conn1->PConnect($host, $user, $pass, $dbname);

?>

Thank you.

Regards.

David

PS: i am using the free version

1 Answers
Abu Ghufran answered 11 years ago

Hello David,

Postgres is currently not supported in free version. We're working hard on new build for free version and planned to have it's support for basic grid operations. Follow us on g+ and twiiter for the updates.

The licensed version, have it's support right now.

Your Answer

6 + 20 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?