FreeHostia Forums
https://forum.freehostia.com/

Can't connect to local MySQL server
https://forum.freehostia.com/viewtopic.php?f=7&t=9754
Page 1 of 1

Author:  kamotos [ Thu Apr 16, 2009 4:57 pm ]
Post subject:  Can't connect to local MySQL server

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.

Author:  widwool [ Fri Apr 17, 2009 8:14 pm ]
Post subject: 

Please open the trouble ticket for this issue via Control Panel Help Center menu.Then we will be able to assist you further.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/