ERROR 2003 (HY000): Can’t connect to MySQL server on localhost (10061)


I installed MySQL on Microsoft Windows 8 Using a noinstall Zip Archive. But when I tested by executing the following commands on windows prompt, the above error showed up.

C:> "C:MySQLbinmysqlshow" 

C:> "C:MySQLbinmysql" test


You don’t need to restart your windows. The easiest way to achieve this is

  1. Go to <Extracted folder location>/bin/
  2. Run mysqld (service)
  3. close the cmd prompt
  4. Run mysql.exe or the better way to do is add the location to PATH environment Variable


Leave a Reply

Your email address will not be published. Required fields are marked *