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

Why do code standards require SQL statements not to have too many joins?

Free points Interviewer : Have you ever used Linu...

The whole process record of Vue export Excel function

Table of contents 1. Front-end leading process: 2...

Several commonly used single-page application website sharing

CSS3Please Take a look at this website yourself, ...

How to use Docker-compose to deploy Django applications offline

Table of contents Install Docker-ce for the devel...

Analyzing the four transaction isolation levels in MySQL through examples

Preface In database operations, in order to effec...

10 HTML table-related tags

In fact many people will say “I’ve seen that table...

How to install MySQL 5.7.29 with one click using shell script

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

How to remove carriage return characters from text in Linux

When the carriage return character ( Ctrl+M ) mak...

Vue mobile terminal determines the direction of finger sliding on the screen

The vue mobile terminal determines the direction ...

How to install redis5.0.3 in docker

1. Pull the official 5.0.3 image [root@localhost ...

What to do if you forget your mysql password

Solution to forgetting MySQL password: [root@loca...

Two common solutions to html text overflow display ellipsis characters

Method 1: Use CSS overflow omission to solve The ...