For PostgreSQL, change localhost to unix() unless you’ve specifically allowed PostgreSQL to accept IP connections on the localhost (127.0.0.1) adapter. Also, ensure that pg_hba.conf allows you to connect via 127.0.0.1.
[quote]This is on a REDHAT ES V3 server.[/quote]
The stock version of PostgreSQL on RHEL3 is 7.3, which is too low for MySource Matrix v3.6 or higher. You need to upgrade to at least PostgreSQL v7.4, but 8.1 is highly recommend because of significant performance increases.
[quote]For PostgreSQL, change localhost to unix() … snip
The stock version of PostgreSQL on RHEL3 is 7.3, which is too low for MySource Matrix v3.6 or higher. You need to upgrade to at least PostgreSQL v7.4, but 8.1 is highly recommend because of significant performance increases.
version
----------------------------------------------------------------------------------------------------------
PostgreSQL 7.4.9 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-53)
(1 row)
I'm still receiving the same DB Error, where the database can't be found.
PHP Version 4.4.2
System Linux portaldev.uarts.edu 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686
Build Date Mar 24 2006 12:08:53
Configure Command './configure' '--with-apxs2=/applications/web/httpd/bin/apxs' '--with-mysql' '--prefix=/applications/web/httpd/php' '--with-config-file-path=/applications/web/httpd/php' '--enable-force-cgi-redirect' '--disable-cgi' '--with-zlib' '--with-gettext' '--with-gdbm' '--with-pgsql=/usr/local/pgsql'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /applications/web/httpd/php/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib
and
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 7.4.9
Multibyte character support enabled
SSL support disabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited</pre><br />
I'm still getting the same errors.
Any other thoughts?
Here's a test script that you can use to test the connection to the database. If this works then the problem lies somewhere other than the connection details. test.php (422 Bytes)
[quote]Here’s a test script that you can use to test the connection to the database. If this works then the problem lies somewhere other than the connection details.
[right][post=“9355”]<{POST_SNAPBACK}>[/post][/right][/quote]