Here's the situation. I needed to create a copy of the website online so that I could redesign it and collaborate with others to redo the content. Consequently:
- I copied a website (example.org) to test.example.org. (Copied the example.org folder entire via ssh command)
- modified the wp-config file to connect to a new database.
- The 4 parameters are definitely correct in wp-config. I can access the new db via chrome using the DB_host and Db_user and Db_password values I've input-ed into the wp-config.
- Consequently, I know that the database itself is fine. Just something is creating a problem in the connection between WP and the DB. I have no idea what, and I've spent an hour trying to diagnose and solve it already.
Ps. The website is hosted on Dreamhost. Additionally, while I can access the DB manually, the dreamhost control panel shows that the database's size is unavailable. I don't know if this is simply because it has no data, or if this is indicative of some deeper issue. Google-Fu hasn't helped.