How to force the installer to re-run (i.e. delete old settings and start again)?
KiwiNFLFan last edited by
Is there any way to force the installer to run again the way it did when you first opened the site (i.e. you can delete the old values and fill them all in again?)
I tried the following to achieve this:
- Deleted the .env file
- Dropped the database
Upon navigating to the the local root url (localhost:8000), I am confronted with an error:
SQLSTATE[HY000]  Unknown database 'my_db' (SQL: select * from `channels` where `hostname` in (localhost:8000, http://localhost:8000, https://localhost:8000))
I then deleted
composer.lockand reinstalled all packages. Same error again.
The interesting thing is that there is no instance of the text 'my_db' anywhere in the project. Manually recreating a database with the same name doesn't work either (predictably), as the table it's searching for doesn't exist.
What am I doing wrong? How do I force the installer to run again?
devansh-webkul last edited by
Just follow the below steps,
- Drop all the tables from the database.
Please try all these changes in the latest master or 1.2.0.