This patch should be applied to funtions.inc.php. In addition to the patch a configuration-directive in config.inc.php has to be added: $CONF['database_port'] = '3306'
Port for mysql(i)-connection can be specified
according to php.net/mysql_connect; you can specify the port for a MySQL connection by specifying hostname:port
e.g. $CONF['database_host'] = '172.30.33.66:3309' ;
So I'm not sure why your patch is needed - at least for a MySQL database. PostgreSQL seems to handle ports differently.
I added this, because I'm using mysqli which seems not to accept the notation you mention. and for consistency-reasons this should than be a conf-directive so it works also if you switch to mysql (or postgresql, but you would have to add this for yourself in functionsinc.php, i'm not into postgresql)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.