Project

General

Profile

Actions

Bug #47085

closed

TYPO3_CONF_VARS SYS DB databasePort setting

Added by Christian Kuhn about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2013-04-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

mysqli needs db host and db port as separate parameters, but they were combined in one string "host" before. Splitting this up gives headaches with ipv6 notation. Solution is to introduce a new port setting in db, handled during bootstrap.

Bootstrap should still split "host" by ":" if no port is given and if first part looks like ipv4 address or domain name, but it shouldn't fail if host is an ipv6 address only. The split case should be deprecated, hinting for own port setting instead (port still defaulting in db class to 3306).


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #46825: mysqli::real_connect() / Unknown MySQL serverClosed2013-03-31

Actions
Related to TYPO3 Core - Task #46880: Lazy database connectionClosed2013-04-03

Actions
Actions #1

Updated by Wouter Wolters about 11 years ago

  • Status changed from New to Closed

This is a duplicate (well this one was first created, so not really correct) of #47455

Actions

Also available in: Atom PDF