Downloading any free software and installing it on your PC should be an easy task. Sometimes, it is not that easy and when it comes to Mac, installing any software that is not listed in AppStore is slightly tricky.
The Mac operating system is very different compared to Windows operating system. In Windows, we can easily download and run any software from Google or PlayStore.
But for Mac, they have their separate AppStore from where users can have their necessary programs on their Mac PC. However, in AppStore, there is not every application for the users. Some applications need to be downloaded from other sources.
If you have come here looking for a guide on downloading and installing MySQL on Mac, make sure to read the complete article. We have mentioned the entire step-wise process for beginners that will guide them from download to installation process.
MySQL, with a client-server architecture, is an open-source relational database management system (RDBMS). Although it can be used in various ways, web applications and online blogging are most commonly identified with MySQL.
MySQL is introduced to handle large and complex databases. It is a straightforward and effective tool to maintain a database of any type. MySQL allows records, including InnoDB, CSV, and NDB, to be stored and retrieved through several storage engines.
How to Download and Install MySQL on Mac
To download MySQL in Mac, follow the following steps.
Step 1: The first thing you need to do is open your browser and then type ‘mysql.com.’ This will open the MySQL page.
Step 2: After opening the MySQL page, click on the ‘Download’ option located on the navbar. After opening the download page, scroll down and select ‘MySQL Community (GPL) Downloads.’
Step 3: Various options are displayed. Out of all those options, look for ‘MySQL Community Server’ and then press that option.
Step 4: Now next thing you need to do is select the macOS in the Select Operating System. After selecting macOS, scroll a little bit and click on the download button. You need to download the first option i.e., macOS 10.15 (x86, 64-bit), DMG Archive.
Step 5: This is the final step. Here you will see two buttons (Login and Signup) in a box. Just below the box, select ‘No thanks, just start my download.’ After pressing this link, your MySQL setup file will be downloaded automatically.
Tips: How to allow the application to be downloaded from any source?
To allow this setting to go the system preferences. After that, click on the ‘Security & Privacy’ and then the ‘General’ option. You can see the ‘allow apps downloaded from’ section at the bottom of the general option. There you have to click on the ‘Anywhere’ option.
Installing MySQL in Mac
After downloading the MySQL setup file, now you are all set to run the installation process. To run the installation process, follow the following steps.
Step 1: Go to the disk where you have your MySQL setup file. Double-click the DMG package of the MySQL installer from the disk.
Step 2: After double tapping, a popup menu will appear with some information. Click on the ‘Continue’ button.
Step 3: After clicking on the continue button, the installation page will appear. On the left-hand side, you can see various steps of the installation process.
Step 4: In the first introduction stage, there is some information regarding MySQL. You don’t have to do anything. Just click on the ‘Continue’ button.
Step 5: Next, you will have the License stage. Here you will have to accept the software license agreement. For that, click on the ‘Continue’ button.
Step 6: After accepting the license, the system will automatically allocate the MySQL destination. If you want to install the software in a different location, you can set it.
Step 7: Now, click on the installation button.
Step 8: The installer reveals a window with your temporary root password after a full download. This cannot be restored, so this password must be saved for the original MySQL login.
Step 9: Now, complete the installation process. Wait for few seconds to complete the installation.
Step 10: At last, you will reach the summary stage. If you reach this step, your installation is completed, and now your MySQL is ready to use. Now you can simply click on the close button.
How to Launch MySQL?
After completing the download and installation process, you can now launch the application. To start or stop the server, either you can use the command line or use the MySQL preference pane. In the upper-left corner of the screen, click the Apple logo and click System Preferences.
There you will see the MySQL app. Click on that app, and from here, you can do many things. You can start or stop the server, initialize the database, and even uninstall MySQL. You can also choose whether to run a server at launch immediately or not.