Bug #54602
closedFirst time installation fails to show DB selection for root user
0%
Description
I just tried installing 6.2 (beta 3 downloaded today; tested with today's repo, too) and it failed right in the beginning after entering the basic DB data. After some troubleshooting I found out that it's only happening for my MAMP's root user.
Situation:
- MAMP
- First time install (removed typo3conf folder and typo3temp contents completely for each try)
- using root user it fails
- using a normal user it works
- same behavior with and without existing empty database
Using the basic installation wizard I am entering db user, db pass, db host and click "continue", then it throws the following exception, resulting in a blank page:
#3 /myinstall/typo3_src-6.2/typo3/sysext/install/Classes/Controller/StepController.php(126): TYPO3\CMS\Ins in /myinstall/typo3_src-6.2/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1563 [26-Dec-2013 20:08:39 Europe/Berlin] PHP Warning: mysqli::real_connect(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (61) in /myinstall/typo3_src-6.2/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1193 [26-Dec-2013 20:08:39 Europe/Berlin] PHP Warning: mysqli::real_connect(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (61) in /myinstall/typo3_src-6.2/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1193 [26-Dec-2013 20:08:39 Europe/Berlin] PHP Fatal error: Uncaught exception 'RuntimeException,??^?Ayn' with message 'TYPO3 Fatal Error: No database selected!' in /myinstall/typo3_src-6.2/typo3/sysext/core/Classes/Database/DatabaseConnection.php:1545 Stack trace: #0 /myinstall/typo3_src-6.2/typo3/sysext/core/Classes/Database/DatabaseConnection.php(1289): TYPO3\CMS\Core\Database\DatabaseConnection->connectDB() #1 /myinstall/typo3_src-6.2/typo3/sysext/install/Classes/Controller/Action/Step/DatabaseSelect.php(147): TYPO3\CMS\Core\Database\DatabaseConnection->admin_get_dbs() #2 /myinstall/typo3_src-6.2/typo3/sysext/install/Classes/Controller/Action/Step/DatabaseSelect.php(134): TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect->getDatabaseList(true) #3 /myinstall/typo3_src-6.2/typo3/sysext/install/Classes/Controller/StepController.php(126): TYPO3\CMS\Install\Controller\Action\Step\DatabaseSelect->handle() #4 /myinstall/typo3_src-6.2/ in /myinstall/typo3_src-6.2/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1545
Though the error message above says it can't connect correctly, it must be connecting, because when entering wrong user credentials on purpose it just shows the corresponding error message without breaking.
It never showed a database selection, though it fails on "no database selected".
I hope this is not just a problem with my MAMP, but something seems to be wrong here.
Updated by Christian Kuhn almost 10 years ago
- Status changed from New to Needs Feedback
Hey. The Database connect step got quite some improvements before 6.2.0 and we got no further reports there are still open issues as far as I know. Is this still a problem on mamp?
Updated by Riccardo De Contardi over 9 years ago
- Status changed from Needs Feedback to Closed
I had no problem in using MAMP and 6.2 since version 6.2.3;
Furthermore, there has been no feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.