Database issue

Status
Not open for further replies.

linkadrip

New Member
Messages
8
Reaction score
0
Points
0
Database Error: Unable to connect to the database:Could not connect to MySQL

The site worked fine a week ago and my database was fine i did a check of the database shows its there. Did the repair database and everything said OK. looking at the database reads 0 mb's do i have to redo the site or can this be fixed on the server side.?

Other wise i have to reload joomla and redo the site understand its free but come on i dont want to have to fix it everytime there is a server upgrade. I did nothing to cause this problem..

www.tehachapircflyer.com please check my data base and let me know if i have to reload joomla and start over.

thank you.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Make sure that in configuration.php in main Joomla directory:

Code:
	var $dbtype = 'mysql';
	var $host = 'localhost';
 

linkadrip

New Member
Messages
8
Reaction score
0
Points
0
mine reads

var $dbtype = 'mysql';
var $host = 'mysql-chopin.x10hosting.com';

So i guess that would mean i need to change it to local host in the bottom line?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
linkadrip said:
So i guess that would mean i need to change it to local host in the bottom line?


:biggthump

That is 'localhost' ... all one word, no spaces, in single quotes
 
Last edited:

linkadrip

New Member
Messages
8
Reaction score
0
Points
0
Yep that is all it took and now Tehachapircflyer Is back on the air..

Thanks appriciate the help. :biggthump
 
Last edited:
Status
Not open for further replies.
Top