MySQL Community Server 8.0.11 installation and configuration method graphic tutorial

MySQL Community Server 8.0.11 installation and configuration method graphic tutorial

I recently started learning about database knowledge, starting with MySQL. Below I will introduce the installation process in detail as a reference for you.

1. Installation

First, download from the Chinese community of MySQL. I have tried other download methods and found that the installation package downloaded from the Chinese community is the best. The download address is, After the download is complete, run the installation file. After running, the following interface appears:

Wait for a few seconds or so and the installation interface will appear.

Just like installing other software, you need to check "I accept the license terms" and click "next":

Select "custom" here, or you can choose the installation method according to your needs:

I need to install MySQL server, so expand the first item in Available Products and select "MySql server8.0.11-X64":

Then click the green arrow to move the currently selected phase to the installation list

Then click "next" and choose whether to install VC++2015 as needed. You don't need to click "next". If you need to, click "Execut". Here I choose "Execut":

After VC++2015 is installed, click "next":

Click "Execute" to start the installation. The progress of the installation will be displayed during the installation. After the installation is completed, the Status will display Complete and a green check will appear in front of the MySQL icon. Then click the "Next" button to enter the product configuration interface.

Then click "next", select the default option, and go to the next page:

Select "Development Machine". Selecting this option will use smaller content to run our MySQL server, which is completely sufficient for small software and learning. Next

Select the default option and then click "next"

In Root Account Password, set the password for the database root account. I filled in 123456, so the program reminded me that the password strength is weak. We need to remember this password, and then click "next"

Here you can set the name of the MySQL server and whether to start it. I did not change the name, but just cancelled the startup, and then click "next".

Still "next"

This interface applies the previously set configuration to our MySQL server. Click "Execute" and wait for completion.

Click "Finish" to complete the configuration

Go back to the installer and click "next" to continue

The installation is complete, click "Finish"

2. Next, you need to configure the mysql environment variables. The steps are:

1. Just like the configuration method of environment variables, we open the environment variable configuration window (key combination win+Pause -> Advanced system settings -> Advanced -> Environment variables)
2. Select "path" in the system variable, enter the path of the bin folder under the MySQL installation directory at the beginning of the path value: C:\Program Files\MySQL\MySQL Server 8.0\bin, save and exit. Note: The default path for MySQL server installation is: C:\Program Files\MySQL\MySQL Server 8.0
3. Test whether the configuration is successful: Open cmd, enter "mysql -u root -p" and press Enter, then enter the password of the root account set when MySQL was installed (123456). If the prompt "Welcome to the MySQL monitor." is displayed, it means that the configuration is successful.

3. Start MySQL

Run cmd as an administrator and enter "net start mysql80" (cmd is not case sensitive)

Wonderful topic sharing:

MySQL different versions installation tutorial

MySQL 5.7 installation tutorials for various versions

MySQL 5.6 installation tutorials for various versions

mysql8.0 installation tutorials for various versions

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • mysql installer community 8.0.16.0 installation and configuration graphic tutorial
  • MySQL Installer Community 5.7.16 installation detailed tutorial
  • mysql installer web community 5.7.21.0.msi installation graphic tutorial
  • mysql installer community 8.0.12.0 installation graphic tutorial
  • Solution to MySQL Installer is running in Community mode
  • Installation of mysql-community-server. 5.7.18-1.el6 under centos 6.5
  • Unity connects to MySQL and reads table data implementation code

<<:  Solution to the routing highlighting problem of Vue components

>>:  How to dynamically add ports to Docker without rebuilding the image

Recommend

Use Docker Compose to quickly deploy ELK (tested and effective)

Table of contents 1. Overview 1.1 Definition 1.2 ...

MySQL database rename fast and safe method (3 kinds)

Table of contents How to rename MySQL database Th...

How to mount a disk in Linux and set it to automatically mount on boot

Knowing that everyone's time is precious, I w...

Completely uninstall MySQL database in Windows system to reinstall MySQL

1. In the control panel, uninstall all components...

MySql knowledge points: transaction, index, lock principle and usage analysis

This article uses examples to explain the princip...

Docker binding fixed IP/cross-host container mutual access operation

Preface Previously, static IPs assigned using pip...

How are Vue components parsed and rendered?

Preface This article will explain how Vue compone...

Solution to changing the data storage location of the database in MySQL 5.7

As the data stored in the MySQL database graduall...

How to use bar charts in Vue and modify the configuration yourself

1. Import echart in HTML file <!-- Import echa...

Explanation of MySQL performance inspection through show processlist command

The show processlist command is very useful. Some...

Detailed process of using vmware to test PXE batch installation server

Table of contents 1. Preparation 1. Prepare the e...

MySQL tutorial DML data manipulation language example detailed explanation

Table of contents 1. Data Manipulation Language (...

CentOS7.5 installation of MySQL8.0.19 tutorial detailed instructions

1. Introduction This article does not have screen...

Native JavaScript to achieve the effect of carousel

This article shares the specific code for JavaScr...