Moved or restored a WordPress site and see a database connection error? Check DNS, the import, the database user and wp-config.php on the new server.