MySQL 5.7.21 winx64 free installation version configuration method graphic tutorial

MySQL 5.7.21 winx64 free installation version configuration method graphic tutorial

MySQL 5.7.21 winx64 free installation version configuration method, for your reference, the specific content is as follows

1. Download

Click to download link

2. Unzip to a directory

3. Configuration

Create a new txt document, save it as my.ini, and put it in the MySQL directory

[mysql] 
# Set the default character set of the mysql client to default-character-set=utf8 
[mysqld] 
#Set port 3306 port = 3306 
# Set the installation directory of mysql basedir=D:\Program Files\mysql-5.7.21-winx64 
# Set the storage directory of mysql database data datadir=D:\Program Files\mysql-5.7.21-winx64\data 
# Maximum number of connections allowed max_connections=200 
# The default character set used by the server is the 8-bit latin1 character set character-set-server=utf8 
# The default storage engine that will be used when creating a new table default-storage-engine=INNODB

Note: The paths of basedir and datadir are the paths where your mysql is stored

4. Add the bin directory to the path environment variable

5. Install MySQL service

Execute mysqld install

If "Missing xxx.dll, please install the Microsoft runtime

https://www.jb51.net/softs/69599.html

6. Generate a data directory (MySQL 5.7.16 and later does not provide a data directory by default)

First enter the bin directory

Run mysqld --initialize-insecure --user=mysql

There will be no prompt after running

Check whether the contents of the data directory are correct

7. Run MySQL service

net start mysql

The command to shut down the MySQL service is net stop mysql

8. Log in to MySQL

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:
  • Detailed tutorial for installing mysql5.7.21 under Windows system
  • MySQL 5.7.21 winx64 installation and configuration method graphic tutorial
  • MySQL 5.7.21 installation and password configuration tutorial
  • MySQL 5.7.21 decompression version installation and configuration method graphic tutorial
  • MySQL 5.7.21 installation and configuration method graphic tutorial (window)
  • mysql installer web community 5.7.21.0.msi installation graphic tutorial
  • MySQL 5.7.21 installation and configuration tutorial
  • MySQL 5.7.21 decompression version installation and configuration method graphic tutorial (win10)
  • MySQL 5.7.20\5.7.21 free installation version installation and configuration tutorial
  • MySQL 5.7.21 decompression version installation and configuration graphic tutorial

<<:  Implementation of Vue 3.x project based on Vite2.x

>>:  A Preliminary Study on JSBridge in Javascript

Recommend

Summary of Mysql-connector-java driver version issues

Mysql-connector-java driver version problem Since...

Website Building Tutorial for Beginners: Learn to Build a Website in Ten Days

The 10-day tutorial uses the most understandable ...

Hyper-V Introduction and Installation and Use (Detailed Illustrations)

Preface: As a giant in the IT industry, Microsoft...

Pull-down refresh and pull-up loading components based on Vue encapsulation

Based on Vue and native javascript encapsulation,...

Pure JavaScript to implement the number guessing game

Develop a number guessing game that randomly sele...

Steps to configure nginx ssl to implement https access (suitable for novices)

Preface After deploying the server, I visited my ...

Implementation of Vue large file upload and breakpoint resumable upload

Table of contents 2 solutions for file upload Bas...

HTML form component example code

HTML forms are used to collect different types of...

Realize super cool water light effect based on canvas

This article example shares with you the specific...

Detailed steps to upgrade mysql8.0.11 to mysql8.0.17 under win2008

Upgrade background: In order to solve the vulnera...

Summary of constructor and super knowledge points in react components

1. Some tips on classes declared with class in re...

It's the end of the year, is your MySQL password safe?

Preface: It’s the end of the year, isn’t it time ...

How to use rem adaptation in Vue

1. Development environment vue 2. Computer system...

How to skip errors in mysql master-slave replication

1. Traditional binlog master-slave replication, s...