title: MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted
body: <p>I couldn't find a solution to this already on stackoverflow, most other related topics had to do with Apache not starting first and getting this error. My issue is that after apache is running some of my users that are connected to our php/mysql website will receive this error:</p>
  
  <pre><code>PHP Warning:  mysql_connect() [function.mysql-connect]:
  [2002] Only one usage of each socket address (protocol/network address/port)
  is normally permitted.
  </code></pre>
  
  <p>This seems to be totally random and when I monitor my worker threads for Apache, there are typically lots of idle workers available to accept new connections/requests.</p>
  
  <p>My Site is running on Windows XP SP3, Xampp 1.7.7, Quad Core, 4gigs of RAM, 1TB HD, Specs for php/mysql:</p>
  
  <p>Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1</p>
  
  <p>Any help on what I should change in any of my configurations to make this go away would be greatly appreciated. I've looked on google and even on Xampp forums but most people experience this issue prior to launching Apache, but Apache is running fine for me when users are experiencing this error.</p>