WP on XAMPP USB – can't connect to database?
-
I am installing a WP instance to use as a sandbox on XAMPP Lite on a USB stick. I know the database works (and is running) because I use it for other ‘sites’ on the stick. (Plus the WP install function does manage to create tables in the wordpress db I created).
I cannot get the WP install to be successful, I have removed/reinstalled several times and followed every instruction I could find online to see if any changes helped. Essentially they all give the exact same instructions, except advice on whether or not set up a wordpress db user/password vs. using root.
On Install, I never get the Success!! screen – just a WordPress Logo and the url has ‘step=2’ appended. When I try going back to install.php, I get ‘One or more database tables are unavailable. The database may need to be repaired.’
I click on repair, and it brings me to a ‘are you sure you want to do this’ screen. I click ‘Try again’ then it brings me back to the ‘One or more database tables are unavailable. The database may need to be repaired.’ screen.
When I go to wp-login.php I get ‘Error establishing a database connection’. Which makes no sense because it obviously connected with it at one point because all the tables got created. Please help.
I’m probably missing something so simple it’s invisible to me.
Thanks
- The topic ‘WP on XAMPP USB – can't connect to database?’ is closed to new replies.