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.<
First of all, you need to ensure the port number on which the server is running. Then you can run
mysql -u username -p --port portNumber on the command line
mysql -u username -p --port portNumber