Pitfalls encountered when installing the decompressed version of MySQL 5.7.20 (recommended)

Pitfalls encountered when installing the decompressed version of MySQL 5.7.20 (recommended)

MySQL official website:

https://www.mysql.com/downloads/

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

1. After the environment variables of the unzipped version are configured, there is no my.ini or my-default.ini file in the root directory

Create a new file my.ini and put it in the ./bin 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=E:\Program Files\mysql-5.7.20-winx64 
# Set the storage directory of mysql database data datadir=E:\Program Files\mysql-5.7.20-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

2. Start the command line as an administrator, enter the installation directory bin directory, and use the command to initialize data

mysqld --initialize-insecure

3. Start the service net start mysql

Summarize

The above is the pitfalls encountered in the installation of the mysql 5.7.20 decompression version that the editor introduced to you. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • MySql 5.7.20 installation and configuration of data and my.ini files
  • Detailed steps for installing the decompressed version of MySQL 5.7.20 (two methods)
  • MySQL 5.7.20 common download, installation and configuration methods and simple operation skills (decompression version free installation)
  • MySQL 5.7.20 compressed version download and installation simple tutorial
  • Detailed graphic and text instructions for installing MySQL 5.7.20 on Mac OS
  • Detailed installation steps for MySQL 5.7.17 decompressed version (ZIP version)
  • Detailed installation steps of MySql 5.7.14 decompression version
  • Install mysql5.7 graphic tutorial under Window10 (decompressed version)

<<:  Forever+nginx deployment method example of Node site

>>:  Sample code for implementing interface signature with Vue+Springboot

Recommend

Mysql classic high-level/command line operation (quick) (recommended)

Since I need to learn how to build servers and da...

Discuss the value of Web standards from four aspects with a mind map

I have roughly listed some values ​​to stimulate ...

How to install JDK and Mysql on Ubuntu 18.04 Linux system

Platform deployment 1. Install JDK step1. Downloa...

Summary of the use of element's form elements

There are many form elements. Here is a brief sum...

Example of how to modify styles via CSS variables

question How to modify CSS pseudo-class style wit...

HTML+CSS to achieve responsive card hover effect

Table of contents accomplish: Summarize: Not much...

Beginners learn some HTML tags (3)

Related articles: Beginners learn some HTML tags ...

Detailed explanation of JavaScript axios installation and packaging case

1. Download the axios plugin cnpm install axios -...

Vue-CLI multi-page directory packaging steps record

Page directory structure Note that you need to mo...

A MySQL migration plan and practical record of pitfalls

Table of contents background Solution 1: Back up ...

Detailed explanation of vue page state persistence

Table of contents Code: Replenish: Summarize Requ...

Example of how to set div background transparent

There are two common ways to make div background ...

A great collection of web standards learning resources

These specifications are designed to allow for bac...

Detailed explanation of monitoring Jenkins process based on zabbix

1. Monitoring architecture diagram 2. Implementat...