Database problems
-
Working on MAMP localhost, my site crashed and I am locked out (white screen front and back end). I tried to recover with a sql dump, but it didn’t work — it just sent me to a wordpress install screen and then installed its usual collection of tables in addition to the existing ones. I deleted them, so it sent me again to the install screen.
I therefore dragged a copy of the folder from a backup clone of my computer to the MAMP db/mysql –something I have done before when moving to a new computer with no problem. But this time, I got “cannot make a database connection. “
WordPress offered to repair it and I clicked okay, but it came back with “client is using or hasn’t closed the table properly” on 7 tables, as well as that the options table does not exist.
I did the repair routine in phpmyadmin for the 7 tables, though I am not sure how that is different from what wordpress had done in the error screen.
I looked at a number of posts here on the topic, but didn’t understand the discussion. Is there a way to insert the options table back? Or is this database gone? The options table is listed in the left panel of phpmyadmin, so I don’t understand what happened to it.
I really don’t understand why the database is even broken. This backup is from several days before the crash.
Any insight or advice would be greatly appreciated.
- The topic ‘Database problems’ is closed to new replies.