MySQL 8.0.20 compressed version installation tutorial with pictures and text

MySQL 8.0.20 compressed version installation tutorial with pictures and text

1. MySQL download address;
http://ftp.ntu.edu.tw/MySQL/Downloads/MySQL-Cluster-8.0/
2. After decompression, put it in a folder and create a my.ini configuration file;

insert image description here

my.ini file content:

[mysqld]

character-set-server=utf8

bind-address = 0.0.0.0

port = 3306
#Configure the decompression path of mysql, you need to manually change basedir=D:\installtools\mysql-8.0.20-winx64
#Configure the database location of mysql. If there is no datas folder, you need to create it manually and change the path to datadir=D:\installtools\mysql-8.0.20-winx64\datas

max_connections=2000

default-storage-engine=INNODB
#Since the new version of MySQL does not support the default commands of the old version, you need to add this configuration default_authentication_plugin=mysql_native_password

[mysql]
default-character-set=utf8
[mysql.server]
default-character-set=utf8

[client]
default-character-set=utf8

Configure environment variables, and add the path of the unzipped bin directory to the path; right-click My Computer Properties → Advanced System Settings → Environment Variables; after configuration, confirm in sequence and the configuration is complete;

insert image description here

3. Run cmd with administrator privileges in the unzipped bin path and run the mysqld --install command;

insert image description here

4. After the above prompt is successful, run: mysqld --initialize --user=root --console command initialization password, the red box below

insert image description here

5. Execute the net start mysql command to start the MySQL service:

insert image description here

6. After successfully starting the MySQL service, execute: mysql -u root -p, and then enter the default password just obtained

insert image description here

7. Modify the default password command: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Enter the modified password'; for example, change it to: 123456; enter exit to exit mysql

insert image description here

Summarize

This is the end of this article about the installation tutorial of MySQL 8.0.20 compressed version. For more relevant MySQL 8.0.20 compressed version installation content, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • A brief discussion on three methods of asynchronous replication in MySQL 8.0
  • Detailed steps for configuring mysql8.0.20 with binlog2sql and simple backup and recovery
  • How to quickly add columns in MySQL 8.0
  • MySQL 8.0.21 installation tutorial with pictures and text
  • Analysis of the new features of MySQL 8.0 - transactional data dictionary and atomic DDL
  • MySQL 8.0.21 installation tutorial under Windows system (illustration and text)
  • Detailed tutorial for downloading and installing mysql8.0.21
  • MySQL 8.0.21.0 Community Edition Installation Tutorial (Detailed Illustrations)
  • Summary of MySQL 8.0 memory-related parameters
  • MySQL 8.0 Window Function Introduction and Summary
  • VS2019 connects to mysql8.0 database tutorial with pictures and text
  • How to install and connect Navicat in MySQL 8.0.20 and what to pay attention to
  • Index Skip Scan in MySQL 8.0

<<:  Detailed steps to install the NERDTree plugin in Vim on Ubuntu

>>:  Native js to implement drop-down menu

Recommend

How to write elegant JS code

Table of contents variable Use meaningful and pro...

Vue implements horizontal beveled bar chart

This article shares the specific code of Vue to i...

How to deploy Redis 6.x cluster through Docker

System environment: Redis version: 6.0.8 Docker v...

How to use time as a judgment condition in MySQL

Background: During the development process, we of...

Mycli is a must-have tool for MySQL command line enthusiasts

mycli MyCLI is a command line interface for MySQL...

7 useful new TypeScript features

Table of contents 1. Optional Chaining 2. Null va...

How to use vue3+TypeScript+vue-router

Table of contents Easy to use Create a project vu...

How to modify the group to which a user belongs in Linux

Modify the group to which a user belongs in Linux...

MySQL performance optimization index pushdown

Index condition pushdown (ICP) is introduced in M...

Detailed explanation of map overlay in openlayers6

1. Overlay Overview Overlay means covering, as th...

js to realize the mouse following game

This article shares the specific code of js to im...

Example of how to enable Brotli compression algorithm for Nginx

Brotli is a new data format that can provide a co...

MySQL REVOKE to delete user permissions

In MySQL, you can use the REVOKE statement to rem...