Step 1, go to Local Disk C: (or wherever you have MySQL downloaded) > Program Files > MySQL > bin. Identify, copy, and paste the path where the bin file is located.
Step 2, left click on ‘This PC’ and go to Properties > Advanced System Settings > Environment Variables. Under the System Variables table find Path and click Edit.
Step 3, click ‘New’ and paste the path where the bin file is located from step one and click ok.
Step 4: Close out of Command Prompt if you already had it open and restart it. Type mysql –version and see if it’s connected.