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:
Then click this:
The next page will ask you to register an Oracle account. We can click not to register:
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.
Do not put the installation path and data on the C drive, otherwise the C drive may not have enough space in the future.
You will see these in the next step, just install them regardless of what they are.
Once these are all filled with green check marks, you can click Next.
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.
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.
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.
Then default all the way, wait a while here, and Finish will appear after completion.
Don't worry about this last page, just click End. Interested students can check what mysql router configuration is for.
Next, let us verify the root password we just entered.
Click Next, there will be a test to check whether our mysql is completely installed successfully.
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.
Execute SQL "hello world". If you successfully see the picture below, you can declare that the installation is successful.
Detailed explanation of the installation steps of MySQL Free Community Edition
Guess you like
Origin blog.csdn.net/weixin_43997331/article/details/124141782
Ranking