Windows 

Note: MySQL might fail to run as a service, for this you can manually start it by navigating to Start > Settings > Control Panel > Administrative Tools > Services
Then find the service called “MySQL”, right click > Properties then you can either click the “start” button or set “Startup Type” to automatic.

Other Operating Systems

  1. Install the MySQL server package: sudo apt-get install mysql-server
  2. Enter a root password