• Hi there, I have recently started to use WordPress and have found for the most part it very simple to set up. I can work locally using MAMP and all works good, however it has got to the point when I upload to live and others are starting to post that I still want to visually develop my sites locally whilst connecting to the live Mysql database. I have been through all the documentation with my hosting provider and all the info is correct. All I get is “error establishing database connection” (unless I change to the local db.

    They told me it was to do with IP Tables – that means jack to me and I wondered if there was anything specific I need to add to get this working. I have an alternate ip hostname that i’ve put in the wp-config.php but no joy. Can anyone help?!

    Mike

Viewing 1 replies (of 1 total)
  • MySQL only allows connections from ‘localhost’ as a security feature, so you need to allow your ip in cpanel of the remote server. If you dont have this feature then try contacting your webhost.

Viewing 1 replies (of 1 total)
  • The topic ‘Local WP Install connecting to live DB’ is closed to new replies.