Software & Apps Apps 38 38 people found this article helpful How to Install MySQL on Windows 10 Run your own database on your Windows PC by Aaron Peters Writer Aaron Peters is a writer with Lifewire who has 20+ years experience in technology. His work appears in Linux Journal, MakeUseOf, and others. our editorial process Twitter LinkedIn Aaron Peters Updated on June 05, 2020 Apps Best Apps Payment Services Tweet Share Email MySQL is the database that holds important information like user credentials, website content, or the options like size and color for your favorite products. It's part of a "stack" of software called LAMP, which stands for Linux, the Apache web server, MySQL, and the PHP programming language. Here's why you might want to install MySQL on Windows 10, and how to do so. Pixabay Why Install MySQL on Windows 10? MySQL is free, open-source software. It's available for no cost, and you can even download the source code if you like. For many, this is one of the reasons it was trusted to be part of the world's most popular web platform. In more practical terms, it means you can freely download and use MySQL for yourself. Why would you want to do this? Well, if you're curious about technology, you can play around with it to see how it works. You can create your own databases, either for educational purposes, or to keep track of important items at home. You could install it to learn the SQL (Structured Query Language), which is the programming language used to manage and interact with most databases. Whatever your reason, installing MySQL is a piece of cake. How to Download MySQL's Free Community Edition Go to the MySQL website and select Downloads. You'll immediately see a lot of text explaining the different editions of MySQL. Under the MySQL Community Edition section, select Community (GPL) Downloads. The Community Edition is the free, open-source version of MySQL. The main difference between Standard and Community Editions is Oracle Premier Support, which gives you access to a support line, consulting service, and a knowledge base. The main functionality of MySQL is largely intact. On the following page, select MySQL Community Server at the top. Scroll down to the bottom of the page and select the Go to Download Page next to Windows (x86, 32 & 64-bit), MySQL Installer MSI. The next page will ask you to choose between two installer files: If you have an active Internet connection, select the top download (mysql-installer-web-community-184.108.40.206.msi).If you have to be offline when you install, select the bottom download (mysql-installer-community-220.127.116.11.msi). The first option will download data while you install, while the second has it all in one package. Finally, log in to your Oracle account. If you don't have one, or don't want to sign in, select No thanks, just start my download at the bottom. How to Install MySQL on Windows 10 Open the file you downloaded to start the installation process. The first screen asks you to agree to the terms and conditions. Specifically, this is the GNU Public License, one of the primary open-source licenses. It basically says you won't take the code and create a new database program with it that you don't also release as open source. Select I accept the terms, and then select Next. Next, you'll see the different installation types. Choose Custom. On the Select Products and Features screen, you'll need to move items from the left side of the screen (Available Products) to the right (Products/Features to be Installed). First, open the MySQL Servers folder and select the right-facing arrow next to MySQL Server 8.0.13 - X64. It will move over to the right column. Select Applications to expand it, then select everything but MySQL for Excel and MySQL for Visual Studio. Again, select the right-facing arrow to line it up for installation. Make sure you're selecting either X64 or X86, depending on your PC's processor and whether it's 32-bit or 64-bit. Finally, select Documentation, and add its items. This option provides some example databases you can look through. Select the first requirement, then select Execute to try to find the needed program and install it. Keep doing this until they're all done, then select Execute again. On the Check Requirements page, you shouldn't have anything in the list marked as "Manual," meaning you need to download and install it yourself. Now the installer will start downloading MySQL itself. If you chose the "web" download earlier you'll see progress indicators for each download. Once everything downloads, MySQUL will start installing. Once the Status of each item changes to Complete, select Next. The wizard will then lead you through configuration. Configure the MySQL Server as follows: Group Replication: Select Standalone MySQL Server / Classic MySQL Replication.Type and Networking: Select the default Config Type Development Computer, which will set things up for you to work locally.Authentication Method*: Select Use Strong Password Encryption for Authentication.Accounts and Roles: Enter a password for your MySQL root (i.e. admin) user. Normally, you can (and should) set up at least one normal user with a name and password as well, but since you're just testing things out, the root account will be enough.Windows Service: You can keep the defaults here, but you should select Start the MySQL Server at System Startup to disable it. As a general rule, try not to leave services you don't need running on your machine. Select Finish to apply your configurations. Repeat this process for other components. Select Finish to complete the installation. You don't need to start any of the apps at this stage. How to Start and Stop the MySQL Server The key to working with MySQL is a running server. You can start and stop the server from the Windows Services app. Press Win+I on your keyboard to bring up Windows Settings. Using the search box, search for the "services." Select View local services. Once the Services app launches, locate the MySQL service. Its name will be "MySQL" with the version number after it (in this case, MySQL80). Select the MySQL service and you'll get options in the left-hand pane. If the service is stopped, select Start. If it's already running, you can select Restart, Pause, or Stop. You can use this to make sure MySQL is only running when you want to use it.