I am in the process of migrating our EE site to a new server. After copying all the files over via rsync and importing the database, I’m running into the error:
Database Error: Unable to connect to your database. Your database appears to be turned off or the database connection settings in your config file are not correct. Please contact your hosting provider if the problem persists.
I’ve double-checked the DB settings by manually logging in via the command line with the same credentials and have no problems there.
I even get the error on a static HTML page I created with nothing more than “Hello World!” It doesn’t require EE or any type of DB connection.
What’s even more perplexing is I had an existing time.html that I migrated over from the old site. It loads fine.
So I’m really confused. Any help would be appreciated.
Thanks,
-Alex