How are you, dev? Welcome to for-devs.com!
In this tutorial, I show you how to download and install MySQL in its community version (free); and I guide you in its configuration during the installation process on Windows. This version is distributed under the GPL license, and you will be able to use it without problems in any software development project.
Now let’s see that MySQL is an open source relational database management system (RDBMS). This software includes a great support of tools for its administration and integration with other software, it also has a large community of users.
On the other hand, among its advantages is its freeness and accessibility, its scalability and compatibility with various programming languages.
However, you may encounter some limitations in security, performance with large databases, and support for complex transactions. This may or may not be favorable, depending on your user requirements and level of experience.
Steps to download and install MySQL
Next, in easy steps, I will show you how to get MySQL on your computer:- Firstly, visit the official website at the following link: Download MySQL Installer Y Select the appropriate version, operating system and architecture before starting the download.
- After opening the downloaded MySQL file, you must follow the instructions on the screen to install and configure it correctly.
- Once installed, you will have access to tools like MySQL Workbench and phpMyAdmin with which you can start working with your databases.
1. Download MySQL
Next, I prepared a short video for you to follow the step by step to download MySQL, in the same way, you can follow the ones described in the following list:- Visit mysql.com
- Go to the download section (Download) and in the final part follow the link MySQL Community (GPL) Downloads
- Click on MySQL Installer for Windows
- Select the installation version you need, web or complete.
- In this step you can optionally register to create an Oracle account or simply start the download by clicking No thanks, just start my download.
- In my case, I selected the Custom option, this allows me to choose only the package components that I really need:
- In the next step, the wizard will verify that the requirements are compatible and available to be installed.
- Accept and install additional components if prompted by the wizard. Then, click Execute and, when the verification is finished, you can click Next:
- Now, if everything went well in the requirement’s verification process, it is a matter of executing the installation and waiting for it to complete before clicking on next:
- After completing the installation of the components, it is time to configure them. We select the convenient authentication method for MySQL Server:
- We define the password of the superuser account and the users that we need:
- Here we set the name of the Windows Run service and its behavior:
- We click Execute to apply the configuration we chose:
- After completing the configuration, we finish the wizard, and we will verify if everything works by logging into the MySQL server.
- Select the option that starts Workbench, the MySQL manager:
3. Verify
At this point, if you configured everything correctly during the MySQL download and installation process, you will be able to access the server without problems through its Workbench manager.- Click on the Local Instance text box, which starts a MySQL service:
- Enter the root password you set in the component settings and press ok:
- If no error messages appear, you will have access to the graphical schema editor for MySQL Workbench databases.