Hi geeks,

I have a strage problem over here. I developed a site which runs fine at my home.
When i hosted it on to the remote server it is giving an error saying cant connect
to mysql. the error is like this
 
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in 
/home/httpd/html/procbit/login.php on line 17

the line 17 in my code is as follows:
$db=mysql_connect("localhost","root","password");

please help me out of this problem.
Please reply me at [EMAIL PROTECTED] 

thank you all
sagar


Reply via email to