WordPress.org

Ready to get started?Download WordPress

Forums

PostgreSQL for WordPress (PG4WP)
Error establishing a database connection (2 posts)

  1. redheadkelly
    Member
    Posted 1 year ago #

    Any suggestions for generic "Error establishing a database connection" error?

    WP 3.5.1
    PostgreSQL for WordPress 1.3.0
    PostgreSQL 8.4.13
    PHP 5.3.23

    http://wordpress.org/extend/plugins/postgresql-for-wordpress/

  2. ebishi
    Member
    Posted 1 year ago #

    Did you ever find a resolution to this issue?

    We have a working PG4WP site, which I attempting to move to another server. The server's are similar, with only minor version differences between them (I.e., psql 8.1.24 versus psql 8.4.13). However, on the new server, we are also getting this error.

    I've verified that the database is good and the credentials valid; I can connect to the db via the command line.

    I've turned on logging in PG4WP, however this error doesn't generate any log messages.

    This install is using

    WP 3.4.2
    PG4WP 1.3.0
    PgSQL 8.4.13
    PHP 5.4.16

    I've also tried doing a fresh, vanilla install with WP 3.5.2 (everything else the same), and likewise get "Error establishing a database connection".

    I understand the PG4WP 1.3 should work with version of PostgreSQL up to 9.1

    Edited to add: I forgot to make note that there is also a PHP version change from the server where PG4WP works (PHP 5.3.15) and the server where it does not (PHP 5.4.16). I have not found anything indicating what versions of PHP are supported.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.