[SOLVED] Stuck on Database Server Settings Postgresql diffferent port

Started by 99Percent, April 10, 2013, 01:17:24 AM

Previous topic - Next topic

99Percent

I am trying to install smf forum in my server but I am stuck on the install process at the Database Server Settings.

I have two instances of postgresql server running on my server, one at the default port 5432 and the other at port 5433 which is where the smf forum software should connect. I have tried setting localhost:5433 as the server name to no avail

I can connect using PgAdmin3 remotely with the domain name (eg hxxp:mydomain.com [nonactive]:5433) with no problems.

Please help.


99Percent

I had to dig into the source code to find the solution.

the pg_connect function used does not specify a separate port parameter so I set the database server "localhost port=5433" and that did it.

Perhaps it would be better to include it in the next version.


Advertisement: