Tutorials > Setting Up a Development Environment > Installing MySQL

4. Installing MySQL

  • This article assumes you have completed the previous tutorials up to: Installing PHP
  • Go to http://dev.mysql.com/downloads/mysql/ and download the latest Windows Installer.
  • On the next page just click 'No thanks' at the bottom.
  • Run the install.
  • Choose Custom install.
  • I let it install to the default directory, and leave everything else default too, then click install.
  • If prompted about MySQL Enterprise, just click next.
  • Once finished leave the checkbox filled in to launch the MySQL Instance Configuration Wizard and click Finish.
  • Choose Standard Configuration.
  • Click the box for 'Include Bin Directory in Windows PATH'.
  • Choose a password for the root user (it doesn't have to be anything special, but write it down because you will need it).
  • Now we're ready to execute, this process might take some time.
  • Once configuration is done click Finish. MySQL is now installed.
  • You should restart your computer at this point otherwise the command line will not work yet.

Return to TutorialsNext Tutorial: Using MySQL