MySQL 5.7.29 + Win64 decompression version installation tutorial with pictures and text

MySQL 5.7.29 + Win64 decompression version installation tutorial with pictures and text

Download the official website

Choose the version that suits you to download.

insert image description here

Click Download and select No thanks, just start my download

download

Configuration

Unzip the downloaded file and put it in a disk on our computer

Configuration variables

After unzipping the file, you need to configure some variables.

path

Add the unzipped bin path to Path

path
Environment variables
Environment variables

Check whether the addition is successful

Run cmd as an administrator, enter mysql and press Enter. If prompted ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
If the command is not an internal or external command, you need to recheck the steps and try again.

Create a configuration file

Create a configuration file my.ini in the root directory of MySQL

Configuration Files

Configuring the my.ini file

[mysqld]
#Port number port = 3306
#mysql-5.7.29-winx64 path basedir=D:\mysql-5.7.29-winx64
#mysql-5.7.29-winx64 path + \data
datadir=E:\mysql-5.7.29-winx64\data
#Maximum number of connections max_connections=200
#Encoding character-set-server=utf8
default-storage-engine=INNODB
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysql]
#Encoding default-character-set=utf8

Modify the paths of basedir and datadir according to your own situation

Install MySQL

Run cmd as administrator . It must be done in administrator mode! ! ! Otherwise, during the installation process, the error "Install/Remove of the Service Denied!" will appear due to insufficient administrative privileges. This is very important!
1. Enter the installation command: mysqld -install

Install

2. Enter the initialization command: mysqld --initialize

initialization

3. Start the MySQL service: net start mysql

Startup and shutdown

4. Enter MySQL: mysql -u root -p
No need to enter a password, just press Enter

Change Password

5. Enter the database: use mysql

Change Password

6. Enter the command to change the password: update update user set authentication_string = password("******") where user ="root"; replace ***** with the password you want to set.

Change Password

Summarize

This is the end of this article about the detailed graphic and text tutorial of MySQL 5.7.29 + Win64 decompression version installation tutorial. For more relevant mysql5.7.29 decompression version installation content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • MySql 8.0.16-win64 Installation Tutorial
  • mysql 5.7.20 win64 installation and configuration method
  • Detailed process of building mysql5.7.29 on centos7 of linux

<<:  Implementation of Docker configuration modification of Alibaba Cloud image repository

>>:  Detailed tutorial on using the Prettier Code plugin in vscode

Recommend

Explanation of the problem of selecting MySQL storage time type

The datetime type is usually used to store time i...

Four practical tips for JavaScript string operations

Table of contents Preface 1. Split a string 2. JS...

js native waterfall flow plug-in production

This article shares the specific code of the js n...

Detailed explanation of how to gracefully delete a large table in MySQL

Preface To delete a table, the command that comes...

How to implement input checkbox to expand the click range

XML/HTML CodeCopy content to clipboard < div s...

How much do you know about JavaScript inheritance?

Table of contents Preface The relationship betwee...

Echarts Bar horizontal bar chart example code

Table of contents Horizontal bar chart Dynamicall...

How to query date and time in mysql

Preface: In project development, some business ta...

How to set the number of mysql connections (Too many connections)

During the use of mysql, it was found that the nu...

About the problems of congruence and inequality, equality and inequality in JS

Table of contents Congruent and Incongruent congr...

A detailed guide to custom directives in Vue

Table of contents 1. What is a custom instruction...

TCP third handshake data transmission process diagram

The process packets with the SYN flag in the RFC7...