Unable to connect to database error

Permalink
Im reaching out because Ive recently setup a test site on another hosting provider as a backup to my current site. I've created a sub-domain on the new hosting site to accomplish this. I've moved all of my files to the correct sub-folder on the new hosting company, maintaining the same directory structure. I've backed up my concrete 5 db and imported to the new site. I've also modified all of the db info(name, username and password) to the correct info and updated this in my site.php file. I'm at a loss as to why the error message "Unable to connect to database., a database error occurred while processing this request.", is appearing and I need help solving this. Thanks in advance for all of your help.

 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
You have probably already done this. Just confirming you also edited DB_SERVER in config/site
ahargett replied on at Permalink Reply
Yes, I actually figured out that I had to change my db_server line. It was a quick fix. Thanks.