Check database is empty before installing #18818
liamgold
started this conversation in
Features and ideas
Replies: 1 comment 1 reply
-
We may not have that level of permission to check. Also, I would say if we could determine that it's not an empty database, then we should give the user the choice to continue or not. I have installed many an Umbraco site in an existing database to cheap out on having to pay to get a new one set up.. 😉 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When installing Umbraco 15 into a SQL Server database, Umbraco expects to have a database created already which is fine.
However, there are no additional checks to ensure it is a clean database, if someone isn't careful they could install into an existing database used for other purposes.
I think it would be reasonable for the Umbraco installer to check there are no existing database tables before commencing the installation. This way, it would prevent unexpected failures during the database creation process, and also stop someone accidentally installing into a database that is used for something else.
Beta Was this translation helpful? Give feedback.
All reactions