title: Cannot access mysql by command line on Zend server on Windows 7
body: <p>I recently installed the latest Zend Server CE 5.6.0 SP4 on Windows 7 complete with php and mysql.
  At first the Zend Server wouldn't work as I think there was some conflict with ports with my Zonealarm firewall. I deactivated the firewall, rebooted tried again and it worked so then reactivated the firewall. Not sure if the firewall has now found an alternative port. I don't really know much about those things. I think the ports it's on are 80 and 10061 but not too sure.</p>
  
  <p>Anyway, I'm working through a PHP/Mysql book where it shows how to connect to the mysql database using the command line without a password. The first suggestion was:</p>
  
  <p>"C:\Program Files (x86)\Zend\MySQL51\bin" -u root </p>
  
  <p>That didn't work so I manually navigated to the MySQL51\bin folder then typed mysql.exe -u root. It then gave an error Error 2003 (HY000): Can't connect to MySQL on 'localhost' 10061</p>
  
  <p>I tried turning the firewall off and trying again but still no luck.</p>
  
  <p>Any ideas or suggestions would be appreciated.</p>
  
  <p>Thanks for any help</p>
  
  <p>Gary</p>