I moved an existing wordpress site from one server to another.
But when I run it shows database connection error.
In which file do we specify new database related information in WordPress?
Please let me know.
Thanks!
I moved an existing wordpress site from one server to another.
But when I run it shows database connection error.
In which file do we specify new database related information in WordPress?
Please let me know.
Thanks!
You must be logged in to post a comment.
Database configuration details are located in
wp-config.php
in the root WordPress directory.Here is the official how to for doing this. You’ll need to move the files, the database, and likely you’ll have to change the hostname in wp-config.
http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server