Installing old WP site on new server (2 posts)

  1. ma3ry
    Posted 2 years 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
    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Topic