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

An example of using Lvs+Nginx cluster to build a high-concurrency architecture

Table of contents 1. Lvs Introduction 2. Lvs load...

PHP related paths and modification methods in Ubuntu environment

PHP related paths in Ubuntu environment PHP path ...

How to use lodop print control in Vue to achieve browser compatible printing

Preface This control will have a watermark at the...

Detailed explanation of Vue project optimization and packaging

Table of contents Preface 1. Routing lazy loading...

How to use worker_threads to create new threads in nodejs

Introduction As mentioned in the previous article...

Detailed explanation of MySQL transaction isolation level and MVCC

Table of contents Transaction Isolation Level Pro...

Summary of mysqladmin daily management commands under MySQL (must read)

The usage format of the mysqladmin tool is: mysql...

MYSQL string forced conversion method example

Preface Since the types of the same fields in the...

MySql Group By implements grouping of multiple fields

In daily development tasks, we often use MYSQL...

Native JS realizes the special effect of spreading love by mouse sliding

This article shares with you a js special effect ...

Security configuration and detection of SSL after the website enables https

It is standard for websites to enable SSL nowaday...

Issues with upgrading Python and installing Mongodb drivers under Centos

Check the Python version python -V If it is below...