Database Error: Unable to connect to the database:Could not connect to database

Status
Not open for further replies.

linkadrip

New Member
Messages
8
Reaction score
0
Points
0
www.tehachapircflyer.com

Database Error: Unable to connect to the database:Could not connect to database

All my files are there the site was working a few days ago. my database is there but says 0.00 MB i used the dtabase checker. and it says everything is OK. even used the repaird DB and it checks out ok so whats going on with my site how do i fix it. Or should i just delete it and start over.:confused:
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
They are currently working on mysql. status.x10hosting.com
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Everytime they fiddle with the mySQL it seems that the database permissions are affected,

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
Click "Save Changes"

That should work.

2. Still no connection, check the software confinguration/settings file . It should set something like $dbhost to 'localhost'. If not, something like 'ini.chopin.x10hosting.com' , change it to 'localhost'

3. Still no connection, post back here.
 

gcottick

New Member
Messages
11
Reaction score
0
Points
0
My database connections have not been working since the move. Wasn't a big deal until now but had to get my off my butt and start coding again. Now it works when when I changed the connection host from mysql-starka.x10hosting.com:3306 to localhost:3306.

Hope this helps.
 
Status
Not open for further replies.
Top