It is currently Wed Dec 04, 2024 8:50 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Can't connect to local MySQL server
PostPosted: Thu Apr 16, 2009 4:57 pm 
Newbie
Newbie

Joined: Thu Apr 16, 2009 4:52 pm
Posts: 1
Hello,

I've checked the logins and everything seems to be good on my scripts.

The problem is that i receive this error message when i want to connect to Mysql4.freehostia.com

Code:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


It happens just to me?

EDIT : In fact, it was my fault, i didn't changed the default host value in mysql_connect() 'Localhost' to 'mysql4.freehostia.com'

It works perfectly now.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 17, 2009 8:14 pm 
Site Admin

Joined: Fri Aug 22, 2008 10:59 am
Posts: 256
Please open the trouble ticket for this issue via Control Panel Help Center menu.Then we will be able to assist you further.

_________________
Best Regards,
WidWool


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011