Project

General

Profile

Actions

Bug #79132

closed

Installer not reporting reason why database connect failed

Added by Johannes Goslar almost 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2017-01-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The TYPO3 Installer is not reporting the actual reason why the database connect failed to user, instead just a generic one.
The actual reason/exception is catched in DatabaseConnect.php:193 but only false is returned.
A more detailed error message could be provided.

Actions #1

Updated by Susanne Moog over 4 years ago

  • Status changed from New to Closed

Nowadays it does, just tested these cases:

- Wrong password or user results in: Access denied for user 'db'@'172.18.0.7' (using password: YES)
- Wrong host: php_network_getaddresses: getaddrinfo failed: Name or service not known
- Wrong port: Connection refused

Actions

Also available in: Atom PDF