Issue Bug Closed

#29245Message: "Can only select database if username/password/host is correctly set first." is misleading

Kestutis no-lastname-given 08/25/11, 14:58 updated 10/02/18, 12:19

Description

Hello,

When I upgrade 4.3 to 4.4.10 I get this error:
“Can only select database if username/password/host is correctly set first.”

All database settings are correct, I tried to set them manually in localconf.php, but this also did not make it work.

===

Added by Christopher:
The problem was caused by $TYPO3_CONF_VARS['SYS']['no_pconnect'] = 0, not by wrong credentials.
So the error message is incomplete and for this case just wrong.
We should add a hint to the message to check $TYPO3_CONF_VARS[‘SYS’][‘no_pconnect’].

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.