Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Error connecting remote DB

Discussion in 'Misc WordPress Requests' started by Steve Stern, Dec 4, 2017.

  1. Steve Stern


    Reply To: Error connecting remote DB, by Steve Stern

    I know you’e on a 10. non-routable network, but it just makes my teeth tingle unpleasantly when you post passwords.

    Given that mysql -u wordpressuser -p -h works, we know it’s not firewall or networking issue, nor how the password was set.

    So, could there be some character in the DB password that’s confusing PHP? Change the db user password to something really stupidly simple (no special characters, just letters) and see if that makes a diff.

    If you’re using a version of PHP less than 7, this script may give you a more useful message that “something bad happened”: https://gist.github.com/sivel/162913

    Reply To: Error connecting remote DB

Share This Page

Web Hosting