WordPress.org

Ready to get started?Download WordPress

Forums

Installing old WP site on new server (2 posts)

  1. ma3ry
    Member
    Posted 6 months ago #

    I am changing servers and trying to install some WP websites. I have done this several times with other servers so it's not new to me, but on this server, for the first two WP sites, I am getting an Error establishing a database connection.

    I have tried importing the database from backup, didn't work, so I deleted the database and user, and re-created it.

    wp-config.php file is using the correct usernames and passwords on localhost. I tried using mysql.domainname.com instead of localhost but that didn't work either.

    What am I missing?

    Thank you!

  2. 155actionplan
    Member
    Posted 6 months ago #

    Which wordpress versions? Also what php version is the server running? Rare but I've had issues where the PHP version isn't up to date and the global settings is lower than required.

Reply

You must log in to post.

About this Topic