MySQL 5.7.23 winx64 installation and configuration method graphic tutorial under win10

MySQL 5.7.23 winx64 installation and configuration method graphic tutorial under win10

This article records the installation tutorial of MySQL 5.7.23 winx64. The specific contents are as follows

Step 1

Official: Download address

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.23-winx64
# Set to MYSQL data directory datadir=D:\Mysql\mysql-5.7.23-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

Setting Environment Variables

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~

mysql -u root -p login try~

Wonderful topic sharing:

MySQL different versions installation tutorial

MySQL 5.6 installation tutorials for various versions

MySQL 5.7 installation tutorials for various versions

mysql8.0 installation tutorials for various 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:
  • Tutorial on installing mysql5.7.23 on Ubuntu 18.04
  • Ubuntu 18.04 installs mysql 5.7.23
  • The latest MySQL 5.7.23 installation and configuration graphic tutorial
  • MySQL 5.7.23 version installation tutorial and configuration method
  • MySQL 5.7.23 decompression version installation tutorial with pictures and text
  • Pitfalls and solutions for upgrading MySQL 5.7.23 in CentOS 7
  • MySQL 5.7.23 installation and configuration graphic tutorial
  • mysql 5.7.23 winx64 decompression version installation tutorial
  • MySQL 5.7.23 installation and configuration method graphic tutorial
  • Binary installation of mysql 5.7.23 under CentOS7

<<:  Vue implements countdown between specified dates

>>:  Example of deploying Laravel application with Docker

Recommend

How to check whether a port is occupied in LINUX

I have never been able to figure out whether the ...

jQuery implements accordion small case

This article shares the specific code of jQuery t...

JavaScript to achieve skin effect (change background)

This article shares the specific code of JavaScri...

How to solve the mysql insert garbled problem

Problem description: When inserting Chinese chara...

How to design a web page? How to create a web page?

When it comes to understanding web design, many p...

Nginx URL rewriting mechanism principle and usage examples

URL rewriting helps determine the preferred domai...

Linux directory switching implementation code example

Switching files is a common operation in Linux. W...

IE8 compatibility notes I encountered

1. IE8's getElementById only supports id, not ...

Div css naming standards css class naming rules (in line with SEO standards)

There are many tasks to be done in search engine o...

vue.js Router nested routes

Preface: Sometimes in a route, the main part is t...

Detailed explanation of Linux text processing tools

1. Count the number of users whose default shell ...

40 web page designs with super large fonts

Today's web designs tend to display very larg...

Solution to the problem of large font size on iPhone devices in wap pages

If you don't want to use javascript control, t...

My CSS framework - base.css (reset browser default style)

Copy code The code is as follows: @charset "...

VMware WorkStation 14 pro installation Ubuntu 17.04 tutorial

This article records the specific method of insta...