WordPress.org

Support

Support » Installation » Server error – cannot connect to database

Server error – cannot connect to database

  • letspose
    Member

    @letspose

    Hi

    I’m totally lost…I’ve done everything that’s been asked yet I am getting a server error / cannot connect to database message everytime. I’ve done this several times and still not working.

    Website is http://www.letsposephotography.com

    Any help would be appreciated!

    Mari

Viewing 2 replies - 1 through 2 (of 2 total)
  • bemdesign
    Member

    @bemdesign

    Just to confirm:

    1). You’ve set up a database for WordPress on MySQL with a user and password (if the user and password wasn’t already configured by your host).

    2). You’ve opened up the wp-config-sample.php file in a text editor, and inserted the correct information (database name, user account for that database, and user password) and saved this edited file as wp-config.php. And then uploaded it to your server in the folder containing your WordPress files

    If, despite the above steps, you still get a database connection error, contact your host and see if there’s something else that might impact connecting to the database (firewalls, reverse proxies, closed ports, etc.)

    letspose
    Member

    @letspose

    Hi

    Yes have done everything you’ve said. Looks like its a host issue. Will contact them and see if there something up!

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Server error – cannot connect to database’ is closed to new replies.