Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress Reply To: Error establish connection even though mysql command line works

Discussion in 'Misc WordPress Requests' started by Name Hero, Mar 20, 2018.

  1. Name Hero

    Guest

    Reply To: Error establish connection even though mysql command line works, by Name Hero

    Are either of your servers running a firewall such as iptables?

    If so, you may want to try whitelisting each server to accept incoming and outgoing connections:

    SSH Into 11.111.11.11:

    # iptables -A INPUT -s 22.22.22.22 -j ACCEPT

    # iptables -A OUTPUT -s 22.22.22.22 -j ACCEPT

    SSH Into 22.22.22.22:

    # iptables -A INPUT -s 11.111.11.11 -j ACCEPT

    # iptables -A OUTPUT -s 11.111.11.11 -j ACCEPT

    For the heck of it, you may also wish to check and make sure your wp-config.php file is using the correct table prefix as this can sometimes get overlooked ;).

    Good luck!

    Reply To: Error establish connection even though mysql command line works
     
    #1

Share This Page

Monarch Social Sharing Plugin