Database connection error. Site.php is correct. Help!

Permalink
I have tried installing my concrete5 local site onto my server many times. Every time I have gotten a database connection error but my site.php matches my database information. "A database error occurred while processing this request." I am using just a basic FTP not an SSH. Does this matter? I have reset the server and all sql servers. I am out of troubleshooting options that I know of. Any help would be fantastic!

 
goldhat replied on at Permalink Reply
The one time I had that error it was on localhost and it was because my database user was assigned to the database with host wildcard (%) instead of localhost. That, or another issue with the database user may be the problem. I'm presuming that the information itself is correct... if it is then the db users seems like the most likely problem.

In site.php what is your setting for DB_SERVER, is it localhost or an IP? And is the database user assigned to it?

As a test you might try throwing up a PHP page with a basic database connection attempt and just see if your database user is able to connect that way outside of C5.