WordPress.org

Forums

Unable to connect to remote mysql db (5 posts)

  1. prateek9us
    Member
    Posted 1 year ago #

    I am trying to connect to a remote mysql db from wordpress
    I get an error "Error establishing a database connection"

    This test script works fine
    http://www.wpwhitesecurity.com/downloads/tools/wpdbtest.zip

    I am not sure what could be wrong

  2. The Grey Parrots
    Member
    Posted 1 year ago #

    What code are you using while trying to connect.

  3. prateek9us
    Member
    Posted 1 year ago #

    I have given a link to the script which I use to connect successfully

    The default index.php for wordpress gives this error

  4. The Grey Parrots
    Member
    Posted 1 year ago #

    The link showing 403 error.

  5. prateek9us
    Member
    Posted 1 year ago #

    Somehow the direct link doesn't work

    Go to this url

    http://www.wpwhitesecurity.com/wordpress-tutorial/troubleshooting-error-establishing-database-connection/

    and click on the link after searching belo
    "Download the WordPress MySQL database connection test tool from here."
    'here' has a link to the script

Topic Closed

This topic has been closed to new replies.

About this Topic