title: Can't connect to MySQL server on localhost (10061) on window 7
body: <p>I am having window 7 as a operating system in the production machine where i am trying to use MySQL server 5.0 as a database. But i am unable to configure MySQL on my production machine. Following is the error i am receiving. </p>
  
  <p><b>The security setting could not be applied to the database because the connection has failed with the following error:</p>
  
  <p>Error no. 2003
  <br/> Can't connect to MySQL server on localhost (10061).</b></p>
  
  <p>The message also prompts that you need to open TCP 3306 port to resolve this issue, i checked it and found that TCP 3306 port is already opened and state is listening.</p>
  
  <p>This is my 'netstat -an' command result - </p>
  
  <p><b> Proto &nbsp; LocalAddress  &nbsp;        ForeignAddress   &nbsp;     State<br/></B>
   TCP &nbsp;&nbsp;&nbsp;   0.0.0.0:3306 &nbsp;&nbsp;&nbsp;&nbsp;          0.0.0.0:0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;            LISTENING</p>
  
  <p>It means TCP at 3306 is open. Can anyone please tell me the solution of this problem. However i am able to install and configure the same MySQL Server setup in window xp. I tried google as well and found a lot of blogs but none is of use.</p>
  
  <p>Thanks a lot.</p>