Patches item #2848439, was opened at 2009-09-01 13:45
Message generated for change (Comment added) made by gingerdog
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2848439&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Database
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans Bert (someone20)
Assigned to: Nobody/Anonymous (nobody)
Summary: Port for mysql(i)-connection can be specified
Initial Comment:
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'
----------------------------------------------------------------------
>Comment By: GingerDog (gingerdog)
Date: 2009-09-01 13:53
Message:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2848439&group_id=191583
|