Error establishing a database connection

Status
Not open for further replies.

Luthy

New Member
Messages
17
Reaction score
0
Points
0
"Error establishing a database connection" is what I get when I visit my website http://avantgardels.co.cc . Everything was working fine until recently. I don't know if the recent maintenance screwed anything up and I hit repair database to see if it would fix the problem. How do i establish a connection to the database?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Please try:

1. cPanel --> MySQL Databases

Current Databases

aaa_jo151 0.00 MB aaa_jo151 X Delete Database

Click on the user
Check ALL PRIVILEGES on the next screen Even if all the other boxes are checked, check "ALL"
Click "Save Changes"
Repeat for all db users

2. If that does not work, your blog/CMS/forum software should have a file named settings or config or configuration (.php or .ini). Open it up and make sure it sets the database host to 'localhost', nothing else. It should be around the other settings for the database.
 
Status
Not open for further replies.
Top