Project

General

Profile

Actions

Bug #46825

closed

mysqli::real_connect() / Unknown MySQL server

Added by Marcin Sągol over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2013-03-31
Due date:
% Done:

0%

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

Description

After the latest changes it is impossible to connect to mysql database that uses non default port?

Error thrown:

Warning: mysqli::real_connect() [mysqli.real-connect]: (HY000/2005): Unknown MySQL server host 'sql.example.com:3307' (2) in /home/user/ftp/web/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1098


Related issues 3 (0 open3 closed)

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

Actions
Related to TYPO3 Core - Bug #47085: TYPO3_CONF_VARS SYS DB databasePort settingClosed2013-04-09

Actions
Blocked by TYPO3 Core - Task #36419: Migrate core from mysql to mysqliClosed2012-04-22

Actions
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Accepted
  • Target version changed from 6.1.0-beta1 to 6.1.0-beta2

Should be fixed if #46880 won't make it in 6.1.

Also "dbClientCompress" doesn't work as the parameters for calling real_connect is faulty.

Actions #2

Updated by Christian Kuhn over 11 years ago

both port and compress issue confirmed. the lazy connection patch fixes them.

Actions #3

Updated by Wouter Wolters over 11 years ago

  • Status changed from Accepted to Closed
Actions

Also available in: Atom PDF