Problem

Status
Not open for further replies.

djconsty

New Member
Messages
12
Reaction score
0
Points
0
in the last 7 days , i get this problem!
Database Error: Unable to connect to the database:Could not connect to database

any ideas how to fix this? thanks
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
Hi,

Please make sure that you are using 'localhost' as the MySQL host in your script's config file.
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
Hi,

You should be able to edit the config files using either the File Manager in cPanel are FTP.
 

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, post back here and we can try something else.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
oh yeah , now it worked , thx a lot Descalzo ;)

Your problem is resolved Now. So I am going to close this thread to mark it as resolved. Feel free to create a new thread if you need more help.

***Thread Closed***
 
Status
Not open for further replies.
Top