Bug #76163
closed
Predefined database host during installation
Added by Wolfgang Wagner over 8 years ago.
Updated about 8 years ago.
Description
I tried to install TYPO3 8.1.0 on a webserver.
In Step 2 to of the Installtool I got the error message
"An exception occured in driver: Connecting to 3.22, 323 & 4.0 servers is not supported"
It seems, that before step 2 a LocalConfiguration.php is created and as host 127.0.0.1 is inserted. That might work on local machines, but not on a real server, if you have to define a different host.
For example, on this server 127.0.0.1 addresses MySQL 3, but MySQL 5 needs 127.0.0.3
After manually editing the LocalConfiguration.php with the correct database parameters, the Installtool could continue.
Files
Hi Wolfgang, in the first step you are to provide the host as a string. What have you entered there?
No, I could not enter any credentials here. The error message appeared directly after "The System looks good..."
boom! :D Thank you. Investigating.
- Category set to Install Tool
- Status changed from New to Accepted
I have changed the IP 127.0.0.1 to a non existing local IP address directly in core and started the FIRST_INSTALL script. Showing the DB form needs round about 30 seconds. I'm sure it tries to connect to DB without knowing the correct credencials. It can't connect and shows the form, but it does not throws an Exception.
On our servers 127.0.0.1 with port 3306 is a MySQL 3 engine. Maybe it throws errors because mysqli is not able to connect to MySQL3 anymore.
2 possibilities:
- Don't try to connect to whatever server before showing the form.
- catch failing connections
I prefer first one, because no one understands why he has to wait up to 30 seconds for a little form.
Stefan
- Status changed from Accepted to Under Review
This part of the Install Tool will be rewritten before 8 LTS.
- Status changed from Under Review to Closed
Also available in: Atom
PDF