Welcome Guest, Not a member yet? Register   Sign In
postgre sql not working
#1
Lightbulb 
(This post was last modified: 08-26-2015, 02:37 AM by Theo.)

Hi all,
I've spend hours trying to use my postgre database. I've searched internet, tried all i've seen, but it stilll don't work

My databse file informations :
Code:
$active_group = 'default';
$query_builder = TRUE;

$db['default'] = array(
'dsn' => 'pgsql:host=localhost;port=5432;dbname=jobdd',
'hostname' => 'localhost',
'username' => 'username', // info for example
'password' => 'password',// info for example
'database' => 'jobdd',
'dbdriver' => 'postgre',
'dbprefix' => '',
'schema'   => 'public',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);

I've changed my original connexion inormations !
It's important to note that databse drvier is loaded

When i try ti connect, i see this message :

A PHP Error was encountered

Severity: Error

Message: Call to undefined function pg_connect()

Filename: postgre/postgre_driver.php

Line Number: 154

Backtrace:


Thank you very much for your help !
Reply


Messages In This Thread
postgre sql not working - by Theo - 08-24-2015, 05:45 AM
RE: postgre sql not working - by nimli - 08-31-2015, 11:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB