to install mysql in windows 7 code example
Example: mysql install windows 10
Just go to
https://dev.mysql.com/downloads/installer/
Choose your os and version
Follow the Microsoft instaler(msi) steps and install.
Its actually easy if you install Xamp or Wamp.
I don't know if this helped.
Good Luck :)