Detailed explanation of the installation steps of MySQL Free Community Edition

MySQL is an introductory product for many people to learn databases. Here is how to install a free MySQL database on your computer in ten minutes.
First click this link: After entering MySQL Community Downloads
, you will see this:
Insert image description here
Then click this:
Insert image description here
The next page will ask you to register an Oracle account. We can click not to register:
Insert image description here
Then you will start to download an msi file.
After downloading and running, you will see the following interface. The default is enough, click Next.
Insert image description here
Do not put the installation path and data on the C drive, otherwise the C drive may not have enough space in the future.
Insert image description here
You will see these in the next step, just install them regardless of what they are.
Insert image description here
Once these are all filled with green check marks, you can click Next.
Insert image description here
Keep clicking Next to get to this place. The default port (Port) is 3306. We can use this, or we can change an unused port at will. Here, it shows that 3306 has been occupied, so we can only change it to another port. No.
Insert image description here
On the next page, involving password setting rules, there are two rules: mysql 8.x and mysql 5.x. We can use the officially recommended strong password mode of mysql 8.x.
Insert image description here
Set a password, a strong password is required (uppercase and lowercase letters, numbers, special symbols). Add User can add other users except root when creating. We can ignore it here. After installation, you can create new users if necessary.
Insert image description here
Then default all the way, wait a while here, and Finish will appear after completion.
Insert image description here
Don't worry about this last page, just click End. Interested students can check what mysql router configuration is for.
Insert image description here
Next, let us verify the root password we just entered.
Insert image description here
Click Next, there will be a test to check whether our mysql is completely installed successfully.
Insert image description here
After completion, two softwares, Mysql Workbench and mysqlsh, will be automatically started. The following is Mysql Workbench. The black box of mysqlsh can be turned off first.
Insert image description here
Execute SQL "hello world". If you successfully see the picture below, you can declare that the installation is successful.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_43997331/article/details/124141782