I don't remember the process but you need to make sure Mqsl is added to the root path of windows or it wont connect correctly. Perhaps someone can chime in here.
Edit.
https://www.scaler.com/topics/sql/ho...in-windows-10/
about half way down shows how to add Mysql to Environment path