WordPress.org

Support

Support » How-To and Troubleshooting » Error establishing a database connection

Error establishing a database connection

  • I am getting an error Error establishing a database connection.

    I exported my sql file and imported it successfully. Then changed the url in both places under wp_options, then transferred my wordpress root folder to ftp.

    This is being transferred to a companies internal servers so I can’t contact the host.

    Is there something that I did wrong or am missing?

    Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    Check the database details with the new hosts.

    What do you mean? What should I check?

    the connection details in your wp-config.php file need to point to the location of the database, with correct login info

    Has that been done correctly?

    It was indeed config ID and password. Now I am only seeing the first page. What can I do to fix that?

    esmi

    @esmi

    Forum Moderator

    Site url?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.
Skip to toolbar