MySQL connect

Status
Not open for further replies.

yemeth

New Member
Messages
11
Reaction score
0
Points
0
Hi,
my problem is the same as that presented here by ReSearcher: no connection to MySQL server. So I guess I have to change the database host 'boru.x10hosting.com' by 'localhost'. But, since I am quite noob in this kind of langage, I don't know exactly how to do this ...
Can you explain me how to do this ?
Thanks !!
 
Last edited:

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
Hi,
my problem is the same as that presented here by ReSearcher: no connection to MySQL server. So I guess I have to change the database host "boru.x10hosting.com" by "localhost". But, since I am quite noob in this kind of langage, I don't know exactly how to do this ...
Can you explain me how to do this ?
Thanks !!
After checking your site I observed this

/home/yemeth/public_html/news/mysqliclass.php on line 56
So open cpanel goto filemanager navigate to news folder and edit the mysqliclass.php and then check for "mysql-boru.x10hosting.com" replace it with localhost
 

yemeth

New Member
Messages
11
Reaction score
0
Points
0
Ok I tried what you said and it did not worked...but thank you anyway ;)
I guess the problem is not in the php files but in the definition of the host of MySQL server, or something like that...
You can try to enter the forum of my site and you will see the same conection issue to MySQL server.

Can't connect to MySQL server on 'mysql-boru.x10hosting.com'
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
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