I designed a bit of my site, then after being away for the weekend my MySQL wasn’t launching in XAMPP, so I looked how to fix it which was copying my backup folder in sql’s folder and pasting in the data folder, replacing all the duplicates. (I did make a backup of the data folder, but using that now doesn’t change what’s happening). Now sql is successfully running, but when I try to go to my site in my browser, it just redirects to the install.php page. I couldn’t find anything online that worked, it just seemed like a lot of people said to check the config file and the table prefix. My config file in htdocs is still there and the table prefix is still what it should be (wp_). I don’t think that would be the issue since I didn’t change anything in the htdocs folder, only in the mysql folder. Any thoughts on what the issue could be here? The folder for my site in the htdocs folder still looks like it has everything, maybe there’s some disconnect between XAMPP and my site? (I’m new to WP and local hosting so I’m not very familiar with how all the tables and databases and stuff work).
I can still run MySQL, it just doesn’t go to my site when I enter the localhost url and it redirects me to install.php instead (even though I have wordpress installed and have a whole site in the htdocs folder).
I’ve tried most of the common solutions online like I said above, but they haven’t fixed this. Any ideas? Thanks!!
^^Wrote above what I tried.
Colin Krauter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.