Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my website deployed on windows xp using wamp. I see this error from last many days every thing were working fine. I don't know where is the problem. some buddy help

XML
Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: [2002] Only one usage of each socket address (protocol/network address/port) is normally permitted.
(trying to connect via tcp://localhost:3306) in D:\wamp\www\ESP\ESP.php on line

where is the problem? my code or server side issue?
Posted
Updated 22-Jul-15 23:17pm
v2
Comments
Richard MacCutchan 23-Jul-15 5:27am    
The error message is telling you where the error occurred. You need to review the code at that point.
Muhamad Faizan Khan 23-Jul-15 6:59am    
$localhost = "localhost";
$root = "root";
$rootpass = "";
$con = mysql_connect($localhost,$root,$rootpass);//this is the line number 7 and it is unchanged from last many days. so why error now is showing?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900