rendered paste bodyobject(ADODB_Exception)#2 (14) { ["dbms"]=> string(9) "postgres7" ["fn"]=> string(7) "CONNECT" ["sql"]=> string(0) "" ["params"]=> string(0) "" ["host"]=> string(9) "localhost" ["database"]=> string(5) "local" ["message":protected]=> string(96) "postgres7 error: [-1: Database connection failed] in CONNECT(localhost, 'local', '****', local) " ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(-1) ["file":protected]=> string(45) "/usr/share/php/adodb/adodb-exceptions.inc.php" ["line":protected]=> int(78) ["trace":"Exception":private]=> array(4) { [0]=> array(4) { ["file"]=> string(34) "/usr/share/php/adodb/adodb.inc.php" ["line"]=> int(536) ["function"]=> string(11) "adodb_throw" ["args"]=> array(7) { [0]=> string(9) "postgres7" [1]=> string(7) "CONNECT" [2]=> int(-1) [3]=> string(26) "Database connection failed" [4]=> string(9) "localhost" [5]=> string(5) "local" [6]=> object(ADODB_postgres7)#1 (89) { ["databaseType"]=> string(9) "postgres7" ["hasLimit"]=> bool(true) ["ansiOuter"]=> bool(true) ["charSet"]=> bool(true) ["dataProvider"]=> string(8) "postgres" ["hasInsertID"]=> bool(true) ["_resultid"]=> bool(false) ["concat_operator"]=> string(2) "||" ["metaDatabasesSQL"]=> string(89) "select datname from pg_database where datname not in ('template0','template1') order by 1" ["metaTablesSQL"]=> string(289) "select tablename,'T' from pg_tables where tablename not like 'pg\_%' and tablename not in ('sql_features', 'sql_implementation_info', 'sql_languages', 'sql_packages', 'sql_sizing', 'sql_sizing_profiles') union select viewname,'V' from pg_views where viewname not like 'pg\_%'" ["isoDates"]=> bool(true) ["sysDate"]=> string(12) "CURRENT_DATE" ["sysTimeStamp"]=> string(17) "CURRENT_TIMESTAMP" ["blobEncodeType"]=> string(1) "C" ["metaColumnsSQL"]=> string(317) "SELECT a.attname,t.typname,a.attlen,a.atttypmod,a.attnotnull,a.atthasdef,a.attnum FROM pg_class c, pg_attribute a,pg_type t WHERE relkind in ('r','v') AND (c.relname='%s' or c.relname = lower('%s')) and a.attname not like '....%%' AND a.attnum > 0 AND a.atttypid = t.oid AND a.attrelid = c.oid ORDER BY a.attnum" ["metaColumnsSQL1"]=> string(385) "SELECT a.attname, t.typname, a.attlen, a.atttypmod, a.attnotnull, a.atthasdef, a.attnum FROM pg_class c, pg_attribute a, pg_type t, pg_namespace n WHERE relkind in ('r','v') AND (c.relname='%s' or c.relname = lower('%s')) and c.relnamespace=n.oid and n.nspname='%s' and a.attname not like '....%%' AND a.attnum > 0 AND a.atttypid = t.oid AND a.attrelid = c.oid ORDER BY a.attnum" ["metaKeySQL"]=> string(485) "SELECT ic.relname AS index_name, a.attname AS column_name,i.indisunique AS unique_key, i.indisprimary AS primary_key FROM pg_class bc, pg_class ic, pg_index i, pg_attribute a WHERE bc.oid = i.indrelid AND ic.oid = i.indexrelid AND (i.indkey[0] = a.attnum OR i.indkey[1] = a.attnum OR i.indkey[2] = a.attnum OR i.indkey[3] = a.attnum OR i.indkey[4] = a.attnum OR i.indkey[5] = a.attnum OR i.indkey[6] = a.attnum OR i.indkey[7] = a.attnum) AND a.attrelid = bc.oid AND bc.relname = '%s'" ["hasAffectedRows"]=> bool(true) ["true"]=> string(4) "TRUE" ["false"]=> string(5) "FALSE" ["fmtDate"]=> string(7) "'Y-m-d'" ["fmtTimeStamp"]=> string(13) "'Y-m-d H:i:s'" ["hasMoveFirst"]=> bool(true) ["hasGenID"]=> bool(true) ["_genIDSQL"]=> string(20) "SELECT NEXTVAL('%s')" ["_genSeqSQL"]=> string(27) "CREATE SEQUENCE %s START %s" ["_dropSeqSQL"]=> string(16) "DROP SEQUENCE %s" ["metaDefaultsSQL"]=> string(125) "SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_class c where d.adrelid=c.oid and c.relname='%s' order by d.adnum" ["random"]=> string(8) "random()" ["autoRollback"]=> bool(true) ["uniqueIisR"]=> bool(true) ["_bindInputArray"]=> bool(true) ["disableBlobs"]=> bool(false) ["_pnum"]=> int(0) ["database"]=> string(5) "local" ["host"]=> string(9) "localhost" ["user"]=> string(5) "local" ["password"]=> string(0) "" ["debug"]=> bool(false) ["maxblobsize"]=> int(262144) ["substr"]=> string(6) "substr" ["length"]=> string(6) "length" ["upperCase"]=> string(5) "upper" ["replaceQuote"]=> string(2) "\'" ["nameQuote"]=> string(1) """ ["uniqueOrderBy"]=> bool(false) ["emptyDate"]=> string(6) " " ["emptyTimeStamp"]=> string(6) " " ["lastInsID"]=> bool(false) ["hasTop"]=> bool(false) ["readOnly"]=> bool(false) ["hasTransactions"]=> bool(true) ["genID"]=> int(0) ["raiseErrorFn"]=> string(11) "adodb_throw" ["cacheSecs"]=> int(3600) ["memCache"]=> bool(false) ["memCacheHost"]=> NULL ["memCachePort"]=> int(11211) ["memCacheCompress"]=> bool(false) ["sysUTimeStamp"]=> bool(false) ["arrayClass"]=> string(18) "ADORecordSet_array" ["noNullStrings"]=> bool(false) ["numCacheHits"]=> int(0) ["numCacheMisses"]=> int(0) ["pageExecuteCountRows"]=> bool(true) ["uniqueSort"]=> bool(false) ["leftOuter"]=> bool(false) ["rightOuter"]=> bool(false) ["poorAffectedRows"]=> bool(false) ["fnExecute"]=> bool(false) ["fnCacheExecute"]=> bool(false) ["rsPrefix"]=> string(13) "ADORecordSet_" ["autoCommit"]=> bool(true) ["transOff"]=> int(0) ["transCnt"]=> int(0) ["fetchMode"]=> bool(false) ["null2null"]=> string(4) "null" ["bulkBind"]=> bool(false) ["_oldRaiseFn"]=> bool(false) ["_transOK"]=> NULL ["_connectionID"]=> bool(false) ["_errorMsg"]=> string(26) "Database connection failed" ["_errorCode"]=> bool(false) ["_queryID"]=> bool(false) ["_isPersistentConnection"]=> bool(false) ["_evalAll"]=> bool(false) ["_affected"]=> bool(false) ["_logsql"]=> bool(false) ["_transmode"]=> string(0) "" } } } [1]=> array(6) { ["file"]=> string(34) "/usr/share/php/adodb/adodb.inc.php" ["line"]=> int(4295) ["function"]=> string(7) "Connect" ["class"]=> string(13) "ADOConnection" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(9) "localhost" [1]=> string(5) "local" [2]=> string(0) "" [3]=> string(5) "local" } } [2]=> array(4) { ["file"]=> string(34) "/usr/share/php/adodb/adodb.inc.php" ["line"]=> int(4131) ["function"]=> string(16) "ADONewConnection" ["args"]=> array(1) { [0]=> string(31) "pgsql://local:@localhost:/local" } } [3]=> array(4) { ["file"]=> string(33) "/home/mattl/dev/local/install.php" ["line"]=> int(38) ["function"]=> string(16) "NewADOConnection" ["args"]=> array(1) { [0]=> string(31) "pgsql://local:@localhost:/local" } } } ["previous":"Exception":private]=> NULL ["msg"]=> string(26) "Database connection failed" }
ADONewConnection(pgsql://local:@localhost:/local) % line 4131, file: adodb.inc.php
NewADOConnection(pgsql://local:@localhost:/local) % line 38, file: install.php
Database connection failure