Teach you how to install MySQL database

Let’s talk about the installation methods of Windows and Mac systems respectively.

1. Windows system

Download MySQL:

https://dev.mysql.com/downloads/windows/installer/8.0.html

Open the URL above and the following interface will appear. We select the first Windows (x86, 32-bit), MSI Installer installation.

After clicking Download, you will enter the download page. We scroll down to the bottom and select No thanks, just start my download. You can download directly without registering and logging in.

During the installation process, just keep clicking next and keep the default options. The only thing to note is that you need to set a password for mysql. Remember this password. You will use it when logging in to the database later. That's it.

2. Mac system

Download MySQL:

https://dev.mysql.com/downloads/mysql/

Open the URL above, and the following interface will appear on your Mac computer. We choose macOS 11 (x86, 64-bit), DMG Archive to install.

After clicking Download, you will enter the download page. We scroll down to the bottom and select No thanks, just start my download. You can download directly without registering and logging in.

During the installation process, just keep clicking Next and keep the default options. Remember the password you set.

However, the Mac computer is not finished yet. We still need to continue to install the graphical tool WorkBench to facilitate us to operate the database. Windows has been installed together, no need to do it again.

Open URL:

https://dev.mysql.com/downloads/workbench/

Select macOS (x86, 64-bit), DMG Archive to install.

If your Mac version is lower, you may get an error when installing this version.

If an error is reported, reinstall the historical version of WorkBench.

Click the link below to download the historical version of WorkBench. I chose version 8.0.15.

https://downloads.mysql.com/archives/workbench/

3. Introduction to WorkBench

After successful installation, WorkBench looks like this. We double-click to open it.

Insert image description here

The information in the red box will appear by default. Double-click to enter the password and log in to the database.

If you really can’t figure out how to install it, I suggest you go to Xianyu Sosou and spend a few dollars to find someone to install it~

In the next lesson we will create the database and data tables.

Click to follow and be notified of updated courses as soon as possible~

Guess you like

Origin blog.csdn.net/shine_a/article/details/125901359