[TASK] Introduce $GLOBALS['TYPO3_CONF_VARS']['DB']['port'] 93/20093/6
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 22 Apr 2013 20:36:54 +0000 (22:36 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Apr 2013 18:59:57 +0000 (20:59 +0200)
commitce5b4d1d614fb2eeaaac8a99c5a1a9e83a1cc8b5
treeb14a0e6775d82c2b240c3f72a761a190646ec8a0
parentd9214ab5ccbbbbe7485c255b530c479cce04ad80
[TASK] Introduce $GLOBALS['TYPO3_CONF_VARS']['DB']['port']

The [db][host] setting can contain a hostname, followed by a colon and
a port. This was ok with mysql, as it accepted host and port in one
parameter.
With the switch to mysqli, host and port must be given as single
parameters, forcing the core to split host and port. This can fail
especially if the host is an ipv6 address.
In order to separate this in a better way, the new "port" parameter
in TYPO3_CONF_VARS DB is introduced. If set, the host will not be
splitted by colon anymore, but host and port setting will be used
as given.

Resolves: #47455
Releases: 6.2, 6.1
Change-Id: I3096d166e574d9b6045ac92ed3dc8b2c48ef94d2
Reviewed-on: https://review.typo3.org/20093
Reviewed-by: Daniel Hürtgen
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
NEWS.txt
typo3/sysext/core/Classes/Core/Bootstrap.php