Snort mailing list archives
postgres and acid
From: "neal" <ntimm () stingrey com>
Date: Wed, 5 Dec 2001 09:16:11 -0600
Hello I'm not to familiar with postgres and and getting this error when
trying to connect to acid. Running redhat 7.2 postgres 7 and snort
1.8.3 snort has no problem connecting as I can see data in the data base
just having the problem viewing through acid any help would be
appreciated.
Thanks.
Getting this error
Unable to connect to PostgreSQL server: (null) in
/var/www/html/snort/adodb-postgres.inc.php on line 190
The last line here is 190.
function _pconnect($str,$user='ntimm',$pwd='',$db='snort')
{
if ($user || $pwd || $db) {
if ($str) {
$host = split(":", $str);
if ($host[0]) $str = "host=$host[0]";
else $str = 'localhost';
if (isset($host[1])) $str .= "
port=$host[1]";
}
if ($user) $str .= " user=".$user;
if ($pwd) $str .= " password=".$pwd;
if ($db) $str .= " dbname=".$db;
}
$this->_connectionID = pg_pconnect($str);
Current thread:
- postgres and acid neal (Dec 05)
- RE: postgres and acid neal (Dec 05)
