MySQL will not work

Can you verify that MySQL is running? That may be the first troubleshooting step.

Here’s what I found for Windows:
How to connect to MySQL from the Windows command line.

Or try this solution that was posted previously: