Project

General

Profile

Actions

Bug #85518

closed

Installation fails if a pre-existing empty database is chosen

Added by Danilo Godec almost 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2018-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Install tool existing database
Complexity:
Is Regression:
Sprint Focus:

Description

When trying to install TYPO3 8 using an existing empty database, installation fails with the error:

Could not connect to selected database!
Could not connect to database "XYZ"! Make sure it really exists and your database user has the permissions to select it!

Steps to reproduce:

1. Create new MySQL database
2. Create new MySQL user
3. Grant all privileges on new database to the new user
4. Prepare the site 'root' directory (unpack TYPO3 sources) and touch 'FIRST_INSTALL'
5. Use a browser to initiate installation
6. Install Tool - In 'Step 2' enter the DB information (MySQL connection type, username, password, hostname, port)
7. Install Tool - Select database (the database is listed)

After clicking 'Continue' on the step 3/5 this error appears:

In contrast, if only a new user is created and granted privileges to what the new database should be named, Install tool step 3/5 can create the database and proceed with the installation.


Files

typo3_8_install_error.jpg (81.5 KB) typo3_8_install_error.jpg Danilo Godec, 2018-07-09 13:54
Actions #1

Updated by Stephan Großberndt almost 6 years ago

  • Description updated (diff)
Actions #2

Updated by Stephan Großberndt almost 6 years ago

  • Description updated (diff)
Actions #3

Updated by Marc von Schalscha over 5 years ago

Exact same behavior in TYPO3 9.3.3.

Actions #4

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Closed

couldn't reproduce this on current master (10.4), therefore closing this issue.

if still doesn't work for you, please get in contact with me

Actions

Also available in: Atom PDF