Problem in accessing the domain

Status
Not open for further replies.

mahmoudrabie

New Member
Messages
10
Reaction score
0
Points
0
Dear Sir,

Thank you for this brilliant free web hosting. However, I am facing the following problem, when I have tried to access my domain without result. What is the problem.

The domain is:
http://sat.x10hosting.com

Thank you in advance, for any help you provide.

Best Regards
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Dear Sir,

Thank you for this brilliant free web hosting. However, I am facing the following problem, when I have tried to access my domain without result. What is the problem.

The domain is:
http://sat.x10hosting.com

Thank you in advance, for any help you provide.

Best Regards

Your website is giving this error...

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

make sure you are using 'localhost' as your DB_HOST in config.php
 

mahmoudrabie

New Member
Messages
10
Reaction score
0
Points
0
Thanks for reponsing

But, how to modify how/where can I modify config.php. The Control Panel has been changed
 

ChatIndia

Community Advocate
Community Support
Messages
1,408
Reaction score
30
Points
48
If you have used softaculous then uninstall it and install it again using localhost as your DB_Host and if you have uploaded software from your computer then search for config.php in the folder of that software and if you can't find config.php file then search for config.php.new and then rename it to config.php and edit it for your database information and if you need any further help then contact me.
 
Last edited:

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
For joomla There must be a file configuration.php in joomla root folder...

Edit this file.. and change the DB_HOST to localhost
 

mahmoudrabie

New Member
Messages
10
Reaction score
0
Points
0
Dear Boss,

Thank you so much. The problem was solved.

I opened configuration.php, and changed the following line
PHP:
var $host = 'mysql-lotus.x10hosting.com';
to
PHP:
var $host = 'localhost';

Then, every thing goes OK.

Regards
 
Status
Not open for further replies.
Top