Setting up a local dev environment
-
Hello Everyone,
I’m trying to set up a local dev environment so that I can edit my site and preview it without actually having to upload to the site and waste my bandwidth and destroy the user experience. I’ve got a few questions.
- I have the database set up on my local system. It’s named the same name, the user and password are exactly the same, and I can connect to it through the mysql client. However, when I change the wp-config.php file to reflect localhost rather than the db server that 1and1 provies, I get an error while trying to connect to the database. Why is this?
- Is this even the best way to do this? I mean, changing the DB_HOST in wp-config seems a little extreme and non-transparent. However, this is the best I could come up with. Suggestions are welcome.
Any thoughts?
Thanks in advance!
Timmy V.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Setting up a local dev environment’ is closed to new replies.