Detailed tutorial on installing mysql-8.0.13 (zip installation) on windows 10 system

Detailed tutorial on installing mysql-8.0.13 (zip installation) on windows 10 system

Installation Environment Description

•System version: windows10
•MySQL version: mysql-8.0.13-winx64.zip
• Download address: http://mirrors.163.com/mysql/Downloads/MySQL-8.0/mysql-8.0.13-winx64.zip

Unzip the installation package

• Unzip path: D:\develop\software
•After decompression, the mysql root directory is: D:\develop\software\mysql-8.0.13-winx64

Principle: The installation directory cannot contain spaces or Chinese characters.

Configuration Files

•Copy the my.ini file to the mysql root directory. The file path is: D:\develop\software\mysql-8.0.13-winx64\my.ini
•The content of my.ini is as follows:

[mysql]
# Set the default character set of the mysql client to default-character-set=utf8mb4
[mysqld]
# Set port 3306 port=3306
# Set the installation directory of mysql basedir=D:\\develop\\software\\mysql-8.0.13-winx64
# Set the storage directory for the MySQL database data. MySQL 8+ does not require the following configuration, the system can generate it by itself, otherwise an error may be reported # datadir=D:\\develop\\software\\mysql-8.0.13-winx64\\data
# Maximum number of connections allowed max_connections=20
# The default character set used by the server is the 8-bit latin1 character set character-set-server=utf8mb4
# The default storage engine that will be used when creating a new table default-storage-engine=INNODB

Note: There is no need to set the data directory, it will be automatically generated, otherwise an error will be reported! Double slash! ! ! ! ! !

Initialize mysql

• Go to D:\develop\software\mysql-8.0.13-winx64\bin
• Execute mysqld --initialize --console

Note: Run the cmd program with administrator privileges, otherwise an error may occur

[Note] [MY-010454] [Server] A temporary password is generated for root@localhost: 3yMoxa?*nMrl

Automatically generate temporary password: [3yMoxa?*nMrl]

E:\mysql-8.0.13-winx64\bin\mysqld.exe (mysqld 8.0.13) initializing of server has completed

Initialization completion prompt.

Register mysql service

mysqld install

Start mysql

net start mysql

Login to mysql

mysql -uroot -p

Note: Enter the temporary password generated above [3yMoxa?*nMrl]

Change password and modify password policy

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

Note: Many MySQL client tools do not support the new password policy of MySQL 8, so use the original password policy.

Finish.

Summarize

The above is a detailed tutorial on how to install mysql-8.0.13 (zip installation) on windows 10. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • MySQL 8.0.15 installation and configuration method graphic tutorial under Windows
  • MySQL 8.0.14 installation and configuration method graphic tutorial
  • The data folder failed to be created automatically during the installation of mysql8.0.14.zip. The service cannot be started.
  • MySQL 8.0.14 installation and configuration method graphic tutorial (general)
  • MySQL 8.0.13 installation and configuration method graphic tutorial
  • MySQL 8.0.13 decompression version installation and configuration method graphic tutorial
  • MySQL 8.0.13 installation and configuration method graphic tutorial under win10
  • MySQL 8.0.13 installation and configuration method graphic tutorial under Windows 64 bit
  • MySQL 8.0.13 installation and configuration tutorial under CentOS7.3
  • MySQL 8.0.15 winx64 decompression version installation and configuration method graphic tutorial

<<:  vue+springboot realizes login verification code

>>:  Tutorial on installing jdk1.8 on ubuntu14.04

Recommend

Example of fork and mutex lock process in Linux multithreading

Table of contents Question: 1. First attempt 2. R...

Use of Linux crontab command

1. Command Introduction The contab (cron table) c...

MYSQL local installation and problem solving

Preface This article is quite detailed and even a...

Linux nohup command principle and example analysis

nohup Command When using Unix/Linux, we usually w...

About the processing of adaptive layout (using float and margin negative margin)

Adaptive layout is becoming more and more common i...

HTML+CSS3 code to realize the animation effect of the solar system planets

Make an animation of the eight planets in the sol...

Detailed analysis of MySQL 8.0 memory consumption

Table of contents 1. innodb_buffer_pool_size 2. i...

A brief talk about JavaScript parasitic composition inheritance

Composition inheritance Combination inheritance i...

Solution to MySQL 8.0 cannot start 3534

MySQL 8.0 service cannot be started Recently enco...

Detailed explanation of various join summaries of SQL

SQL Left Join, Right Join, Inner Join, and Natura...

Implementation of CSS dynamic height transition animation effect

This question originated from a message on Nugget...

How to delete folders, files, and decompress commands on Linux servers

1. Delete folders Example: rm -rf /usr/java The /...

Example code for implementing fullpage.js full-screen scrolling effect with CSS

When I was studying CSS recently, I found that I ...