mysql5.7.19 winx64 installation and configuration method graphic tutorial (win10)

mysql5.7.19 winx64 installation and configuration method graphic tutorial (win10)

The installation tutorial of mysql 5.7.19 winx64 is recorded as follows and shared with everyone

step1

Official download address: https://dev.mysql.com/downloads/mysql/

Select Manual Download Version

Unzip to the path you specify

這里寫圖片描述

The my.ini and data folders in the above picture are not in the compressed package, so you need to add them later.

my.ini is as follows, just copy~

[client]
port=3306
default-character-set=utf8

[mysqld] 
# Set to your own MYSQL installation directory basedir=D:\Mysql\mysql-5.7.19-winx64
# Set to MYSQL data directory datadir=D:\Mysql\mysql-5.7.19-winx64\data
port=3306
character_set_server=utf8
sql_mode=NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER
# Enable query cache explicit_defaults_for_timestamp=true
skip-grant-tables

Then create a data folder in the directory

Step 2

Set environment variables <br /> Computer->Properties->Advanced System Properties->Environment Variables Create a new path in the system variables (%MYSQL installation directory%\bin)

這里寫圖片描述

Step 3

Enter the bin folder under the MySQL installation directory and open cmd as an administrator here

Execute mysqld –initialize-insecure

This command is to ensure that there are normal mysql folders and related files in the data directory.

If error: Found option without preceding group in config file: D:\Mysql\mysql-5.7.19-winx64\my.ini at line: 1 appears

The solution is to save my.ini in ANSI format

這里寫圖片描述

Then execute the following commands in sequence (administrator mode):

mysqld install 
net start mysql

If you need to change the password, enter:

set password for root@localhost = password('123456');

Step 4

Finished~
Try logging in with mysql -u root -p ~

這里寫圖片描述

Wonderful topic sharing: Installation tutorials for different versions of MySQL Installation tutorials for MySQL 5.7 versions Installation tutorials for MySQL 5.6 versions

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • MySQL 8.0.15 installation and configuration tutorial under Win10
  • mysql8.0.11 winx64 installation and configuration method graphic tutorial (win10)
  • Install and configure IIS + MySQL + nginx + php7.1.7 under Win10
  • MySQL 5.7.19 installation and configuration method graphic tutorial (win10)
  • About the basic configuration tutorial of MySQL5.7.17 free installation version under Win10 (with pictures and text)
  • win10 mysql 5.6.35 winx64 free installation version configuration tutorial
  • Detailed installation and configuration tutorial of MySQL 5.7 under Win10

<<:  Example of how to identify the user using a linux Bash script

>>:  Three methods to modify the hostname of Centos7

Recommend

How does MySQL connect to the corresponding client process?

question For a given MySQL connection, how can we...

Why is the MySQL auto-increment primary key not continuous?

Table of contents 1. Introduction 2. Self-increme...

Linux kernel device driver memory management notes

/********************** * Linux memory management...

Ideas and codes for implementing Vuex data persistence

What is vuex vuex: is a state manager developed s...

Quick solution for forgetting MySQL8 password

Preface When we forget the MySQL database passwor...

Using js to achieve the effect of carousel

Today, let's talk about how to use js to achi...

Postman automated interface testing practice

Table of contents Background Description Creating...

How to download excel stream files and set download file name in vue

Table of contents Overview 1. Download via URL 2....

Use of align-content in flex layout line break space

1. The effect diagram implemented in this article...

Basic usage examples of Vue named slots

Preface Named slots are bound to elements using t...

Implementation of multi-site configuration of Nginx on Mac M1

Note: nginx installed via brew Website root direc...

Echart Bar double column chart style most complete detailed explanation

Table of contents Preface Installation and Config...

About CSS floating and canceling floating

Definition of Float Sets the element out of the n...

Exploring the practical value of the CSS property *-gradient

Let me first introduce an interesting property - ...

How to make if judgment in js as smooth as silk

Table of contents Preface Code Implementation Ide...