I need to install a local version of an existing WP blog.
I want the local install to use my distant Mysql database.
I am getting an “Error establishing a database connection” error.
Notes about the situation:
I am using Windows 7
I deployed WampServer 2 locally
I defined virtual hosts, and it works fine with static local sites.
My local wp-config.php is an exact copy of the distant one (the user/password therefore can’t be wrong since the distant site works; likewise the db host name is correct).
DB_HOST is set to the full DB server host name.
I can ping it from the Windows 7 machine.
Could anyone suggest what might be going wrong?
- The topic ‘Can't connect to distant Mysql database from local install’ is closed to new replies.