Bug #52585
closedOverwriting exiting database during install does not work
100%
Description
It sounds nice that existing data cannot be overwritten anymore... however, if it's intended and the database user is not allowed to create new databases, then one is lost after the first 10 seconds with TYPO3.
Steps to reproduce:- install TYPO3 CMS 6.2
- use user that has a database with data/tables
- you won't find the database in the list of "empty databases" - which is correct of course, but not helpful
Updated by Markus Klein over 10 years ago
-1 here.
A user usually has access to the database in another way (phpMyAdmin), at least I don't know a single hosting service that does not provide such an access.
The user can clean the DB there.
Updated by Oliver Hader over 10 years ago
Markus Klein wrote:
-1 here.
A user usually has access to the database in another way (phpMyAdmin), at least I don't know a single hosting service that does not provide such an access.
The user can clean the DB there.
Well, I know a lot of them - and this is the origin of this issue as well
Updated by Philipp Gampe over 10 years ago
You might want to install TYPO3 CMS into a not empty DB to e.g. share certain tables with another application.
Updated by Christian Kuhn over 10 years ago
And how to handle a 'partly' filled database? Drop those tables the instance need? What about existing content rows? I'm also in favor of not allowing this, lets discuss this tomorrow, Oli.
Updated by Ernesto Baschny over 10 years ago
- Assignee set to Christian Kuhn
- Target version set to 6.2.0
We discussed this in the release team today and decided that we will show the empty databases in the list where the user has access too, but leave them "unselectable" (maybe with a warning beside it = "Not empty") so that he at least has a chance to notice where the error is before wondering if there are permission issues in his DB setup.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24668
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24668
Updated by Nicole Cordes over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ced1f4065dbc6c9bd61044c32af720e8d5e6529b.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed