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

How to install MySQL 5.7.29 with one click using shell script

This article refers to the work of 51CTO blog aut...

10 SQL statement optimization techniques to improve MYSQL query efficiency

The execution efficiency of MySQL database has a ...

Design of image preview in content webpage

<br />I have written two articles before, &q...

Tutorial on configuring and using i3 window manager in Linux

In this article, I will show you how to install a...

Solve the error of installing VMware Tools on Ubuntu 18.04

1. According to the online tutorial, the installa...

What is em? Introduction and conversion method of em and px

What is em? em refers to the font height, and the ...

MySQL json format data query operation

The default table name is base_data and the json ...

Make a nice flip login and registration interface based on html+css

Make a nice flip login and registration interface...

Example of using JSX to build component Parser development

Table of contents JSX environment construction Se...

Analysis of MySQL lock wait and deadlock problems

Table of contents Preface: 1. Understand lock wai...

Detailed explanation of the minimum width value of inline-block in CSS

Preface Recently, I have been taking some time in...

Implementation of Linux command line wildcards and escape characters

If we want to perform batch operations on a type ...

Pure CSS implementation of radio and checkbox effect example

radio-and-checkbox Pure CSS to achieve radio and ...

How to install binary MySQL on Linux and crack MySQL password

1. Make sure the system has the required libaio s...

How to deploy the crownblog project to Alibaba Cloud using docker

Front-end project packaging Find .env.production ...