Summary of Problems in Installation and Usage of MySQL 5.7.19 Winx64 ZIP Archive

Summary of Problems in Installation and Usage of MySQL 5.7.19 Winx64 ZIP Archive

Today I learned to install MySQL, and some problems occurred in the process. After reading several related articles, I solved them and recorded them for your reference.

1. Download

https://dev.mysql.com/downloads/mysql/

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

Choose the version that suits you. Archive means you can just unzip it after downloading, no installation is allowed, which is more convenient.

2. Create a new file my.ini in the root directory of MySQL (it didn’t exist before) and add the following content to the file.

[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:\Databases\mysql\mysql-5.7.19-winx64
# Set the storage directory of mysql database data datadir=E:\Databases\mysql\mysql-5.7.19-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
# Password-free login skip-grant-tables

The last line was added by me later, because I didn't know the password required when logging in, so I added the last sentence to the my.ini file so that I could log in without a password.

3. Find Path in the environment variables and add the path of mysql bin.

For example, mine is: ";E:\Databases\mysql\mysql-5.7.19-winx64\bin"

4. Run cmd as an administrator. Be sure to run it as an administrator. You can check how to run it as an administrator on your system.

5. Run the following command

mysqld --initialize
 mysqld install
 net start mysql
 mysql -u -root

Summarize

The above is the installation and usage tutorial of Mysql 5.7.19 winx64 ZIP Archive introduced by the editor. I hope it will be helpful to everyone. 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:
  • Installation tutorial of MySQL 5.7.17 zip package version under win10
  • About MySQL 8.0.13 zip package installation method
  • MySQL 5.7 zip archive version installation tutorial
  • Detailed installation process of MySQL 8.0 Windows zip package version
  • mysql8.0.0 winx64.zip decompression version installation and configuration tutorial
  • Detailed installation tutorial of mysql-8.0.11-winx64.zip
  • mysql5.7.21.zip installation tutorial
  • Detailed tutorial on installing mysql-8.0.13 (zip installation) on windows 10 system

<<:  How to build docker+jenkins+node.js automated deployment environment from scratch

>>:  Detailed explanation of several methods of JS array dimensionality reduction

Recommend

How to create a virtual environment using virtualenv under Windows (two ways)

Operating system: windowns10_x64 Python version: ...

Automatic failover of slave nodes in replication architecture in MySQL 8.0.23

I have been in contact with MGR for some time. Wi...

How to create your first React page

Table of contents What is Rract? background React...

Summary of some thoughts on binlog optimization in MYSQL

question Question 1: How to solve the performance...

HTML web page hyperlink tag

HTML web page hyperlink tag learning tutorial lin...

3 methods to restore table structure from frm file in mysql [recommended]

When mysql is running normally, it is not difficu...

Introduction to nesting rules of html tags

There are many XHTML tags: div, ul, li, dl, dt, d...

HTML hyperlink a tag_Powernode Java Academy

Anyone who has studied or used HTML should be fam...

SQL insert into statement writing method explanation

Method 1: INSERT INTO t1(field1,field2) VALUE(v00...

Simple Implementation of HTML to Create Personal Resume

Resume Code: XML/HTML CodeCopy content to clipboa...

MySQL Series 3 Basics

Table of contents Tutorial Series 1. Introduction...

A brief analysis of the game kimono memo problem

Today, after the game was restarted, I found that...

Summary of the characteristics of SQL mode in MySQL

Preface The SQL mode affects the SQL syntax that ...

WeChat Mini Program video barrage position random

This article shares the specific code for randomi...

Vue large screen display adaptation method

This article example shares the specific code for...