I’m trying a restore, so I copied my wp directories to my own computer, backed up the database, copied that, and used phpmyadmin to import it into my local mysql. I changed the wp-config settings to match — I think! — my local setup.
One possibly complicating factor: I have temporarily changed my local settings so that my domain (molvray.com) points to local /home/me/www. The idea is that then I can test things without having to change all the links.
Everything sort of works, except that when I go to my restored local site, I’m presented with the install screen. When I change
define('DB_HOST', 'localhost');to the actual name (
snowy) I get a message about “error connecting to database”.
So it seems that wordpress is seeing MySQL, but not any of the contents.
Why did that happen? How do I fix it?
(P.S. I tried to post this question yesterday, but when I came back it said it didn’t exist. I’m trying again. Sorry if this is a double post!)
- The topic ‘wp does not see mysql database’ is closed to new replies.