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

Vue ElementUI Form form validation

Form validation is one of the most commonly used ...

Historical Linux image processing and repair solutions

The ECS cloud server created by the historical Li...

Detailed description of component-based front-end development process

Background <br />Students who work on the fr...

Css3 realizes seamless scrolling and anti-shake

question The seamless scrolling of pictures and t...

Implementation of nginx proxy port 80 to port 443

The nginx.conf configuration file is as follows u...

Linux tac command implementation example

1. Command Introduction The tac (reverse order of...

vue-admin-template dynamic routing implementation example

Provide login and obtain user information data in...

How to use cc.follow for camera tracking in CocosCreator

Cocos Creator version: 2.3.4 Demo download: https...

MySQL database import and export data error solution example explanation

Exporting Data Report an error SHOW VARIABLES LIK...

Nginx sample code for implementing dynamic and static separation

In combination with the scenario in this article,...

How to implement DIV's blur function

Use anti-shake to make DIV disappear when the mou...

Vue implements a simple calculator

This article example shares the specific code of ...

JavaScript to achieve JD.com flash sale effect

This article shares the specific code of JavaScri...