Localhost stuck on "success" installation screen

Hi there, I am having a weird issue that hopefully someone else has run into before. When running a local instance of my site, the first installation works fine. But once I close my XAMMP instance and try to run it again the next day, navigating to localhost:8080/my-site brings up the installation screen as seen below:

Clicking on “Public Site” or “Admin Dashboard” re-routes me back to the same “Success!” page, so I am just stuck there.

I have solved this by creating a new database in phpmyadmin and pointing my db.ini file to it. Unfortunately then I have to go back through the installation set up and have lost all testing items/collections, and again, it only works for that instance.

Any ideas on what might be causing this? It seems to have something to do with the database, as a new one will fix it briefly.

Thank you! :slight_smile: