Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => PostgreSQL and SQLite Support => Topic started by: Dikw002 on October 06, 2010, 05:25:13 AM

Title: Installing on PostgreSQL: "Cannot connect to the database server..." error
Post by: Dikw002 on October 06, 2010, 05:25:13 AM
I decided compare engines MyBB, phpBB and SMF.

MyBB and phpBB where installed whithout problems. But SMF 2.0 has an error on second step of installation.



Critical Error!
Cannot connect to the database server with the supplied data.

If you are not sure about what to type in, please contact your host.



All setting like "Server name", "username" and so on where checked many times and are absolutely correct. There wasn't any connection indeed. PostgreSQL debug logs show me absence of connection attempts. I suppose it's an engine proplem

My server configuration:
Apache 1.3.34
php 5.2.0
PostgreSQL 7.4.17

PHP use pgsql (not pdo_psql) extention.
PostgreSQL(libpq) Version    8.1.18
Title: Re: Installing on PostgreSQL: "Cannot connect to the database server..." error
Post by: Nibogo on October 09, 2010, 10:38:02 PM
PostgreSQL 8.0 (or higher) is required, ask your hosting company to update to latest version, there SMF should be installed without any errors.