Proxy Mysql

I am getting Error establishing a database connection when I use Proxied connection. If I change the connection to the database to DNS only my site works fine. I moved to a new server recently and my IP changed.

In your application’s setting for setting up the database (usually in a config file), you’ll need to change the hostname of the database from your domain name to the real IP of the database. CF doesn’t proxy MySQL or other non-http TCP.

1 Like

Wow, thanks. That worked! I just used the ip address instead of mysql.########.com in wp-config.php

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.