The latest graphic tutorial of mysql 8.0.16 winx64 installation under win10

The latest graphic tutorial of mysql 8.0.16 winx64 installation under win10

In order to download this database, it takes a lot of time and traffic. I hope that you don’t have to waste time on the pits you have stepped on.

1. Download from the official website

Searching for mysql will bring up the official website. Please forgive me for the distorted images after taking screenshots.

2. Unzip the compressed package to the directory you want to install. I unzipped it to drive D.

3. Configure environment variables

4. Create my.ini in the current directory

[mysqld]
# Set port 3306 port=3306
# Set the installation directory of mysql to basedir=D:\mysql\mysql-8.0.16-winx64
# Set the storage directory of mysql database data datadir=D:\mysql\database
# Maximum number of connections allowed max_connections=200
# The number of connection failures allowed. This is to prevent someone from trying to attack the database system from this host max_connect_errors = 10
# The default character set used by the server is UTF8
character-set-server=utf8
# The default storage engine that will be used when creating a new table default-storage-engine=INNODB
# By default, the "mysql_native_password" plug-in is used for authentication. default_authentication_plugin=mysql_native_password
[mysql]
# Set the default character set of the mysql client to default-character-set=utf8
[client]
# Set the default port used by the mysql client to connect to the server port = 3306
default-character-set=utf8

5. Then use the cmd command prompt, first enter your installation directory, D:\mysql\mysql-8.0.16-winx64\bin, perform the corresponding process in this directory, enter the command mysqld --initialize --console, and the password will be displayed at this time. You should record this password at this time, which will be used for logging in later.

On this basis, enter mysqld install, I have already installed it here

If it has been installed before and not uninstalled cleanly, you can execute the following statement

Use the sc delete mysql command to delete the previous version, and then execute the mysqld –install command.

6. After completing the above steps, enter the command mysql -u root -p on the command prompt and enter the password

This completes the installation

In addition, the sentence for changing the password is attached:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new password';

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:
  • Installation and configuration tutorial of MySQL 8.0.16 under Win10
  • mysql 8.0.16 winx64.zip installation and configuration method graphic tutorial
  • MySQL 8.0.16 compressed package installation and configuration method graphic tutorial
  • mysql installer community 8.0.16.0 installation and configuration graphic tutorial
  • MySQL 8.0.16 installation and configuration tutorial under Windows 10
  • MySQL 8.0.16 winx64 installation and configuration method graphic tutorial under win10
  • MySQL 8.0.16 installation and configuration method graphic tutorial under Windows
  • MySQL 8.0.16 installation and configuration tutorial under CentOS7
  • MySQL 8.0.16 winx64 installation and configuration method graphic tutorial
  • MySQL 8.0.16 Win10 zip version installation and configuration graphic tutorial

<<:  Using loops in awk

>>:  A brief discussion on several ways to implement front-end JS sandbox

Recommend

Implementation of Linux command line wildcards and escape characters

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

Process analysis of deploying ASP.NET Core applications on Linux system Docker

Table of contents 1. System environment 2. Operat...

How to install PostgreSQL and PostGIS using yum on CentOS7

1. Update the yum source The PostgreSQL version o...

CentOS 8 officially released based on Red Hat Enterprise Linux 8

The CentOS Project, a 100% compatible rebuild of ...

Automated front-end deployment based on Docker, Nginx and Jenkins

Table of contents Preliminary preparation Deploym...

Native JS to achieve cool paging effect

This article uses an example to share with you a ...

Discussion on default margin and padding values ​​of common elements

Today we discussed the issue of what the margin v...

mysql5.7.19 zip detailed installation process and configuration

MySQL v5.7.19 official version (32/64 bit install...

CSS3 achieves flippable hover effect

CSS3 implements a flippable hover effect. The spe...

JS object copying (deep copy and shallow copy)

Table of contents 1. Shallow copy 1. Object.assig...

How to implement the strategy pattern in Javascript

Table of contents Overview Code Implementation Su...

Detailed explanation of important cascading concepts in CSS

Recently, I encountered a problem in the process ...

Application of HTML and CSS in Flash

Application of HTML and CSS in Flash: I accidental...

Comparative Analysis of IN and Exists in MySQL Statements

Background Recently, when writing SQL statements,...