Not able to start mysqld as windows service as well as from command line in windows 8 I recently downloaded mysql-5.7.9-winx64.zip and tried to run mysqld from command line but it does not starts gives me following error.

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


I have updated system path variable to have "D:\MySQL\mysql-5.7.9-winx64\bin"
and added mysql as system service 

"D:\MySQL\mysql-5.7.9-winx64\bin" --install


It's still does not start when I restart my system.

Also when I tries to run from services.msc ==&gt; MySQL ==&gt; Start It gives me following error:

MySQL Services on Local Computer started and then stopped. Some services stops automatically if they are not in use by other service or programs.
Connecting from the localhost shouldn't be an issue, but edit your "C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" file and change the bind-adress from 127.0.0.1 to the external IP address. Also, set mysql skip-networking to off. Finally, set a rule on windows firewall to allow connections on port 3306.