Basic installation tutorial of mysql decompression package

Basic installation tutorial of mysql decompression package

Since I have changed to a new computer, all the environments need to be configured on the new computer. Suddenly I realized that I had forgotten the configuration of MySQL, so I searched it again on Baidu.
I wrote an article specifically to record it so that I can remember it.

1. Download the installation package
2. Configure the my.ini file

The configuration information is as follows:

[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 to basedir=F:\bianyi\mysql-5.6.24-win32
# Set the storage directory of mysql database data datadir=F:\bianyi\mysql-5.6.24-win32\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

這里寫圖片描述

3. Installation service

After opening the cmd window as an administrator, switch the directory to the bin directory where you unzipped the file, and then enter vity/SouthEast)

4. Start service login verification

Continue to enter: net start mysql, after the service starts, enter: mysql -uroot -p

5. Change your password

Continue to enter: set password for root@localhost = password('12456');

這里寫圖片描述

In this process, the installation service failed because it was not run as an administrator:

這里寫圖片描述

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:
  • MySQL 5.6.51 decompressed version (zip version) installation and configuration graphic method
  • MySQL 5.7.13 decompressed version (free installation) installation and configuration tutorial
  • Configuring and installing MySQL 5.6 decompressed version in Windows 7
  • How to install and uninstall MySQL service under Windows (MySQL 5.6 zip decompression version installation tutorial)
  • Detailed installation steps of MySql 5.7.14 decompression version
  • Detailed installation steps for MySQL 5.7.17 decompressed version (ZIP version)
  • MySQL 5.6 decompressed version installation and configuration method graphic tutorial (win10)
  • mysql5.7.19 winx64 decompressed version installation and configuration tutorial
  • Detailed process of decompressing and installing mysql5.7.17 zip
  • MySQL 5.5.x zip direct decompression version installation method

<<:  React Hooks Common Use Scenarios (Summary)

>>:  Logrotate implements Catalina.out log rotation every two hours

Recommend

MySQL 5.7 Common Data Types

——Notes from "MySQL in Simple Terms (Second ...

Detailed explanation of pid and socket in MySQL

Table of contents 1. Introduction to pid-file 2.S...

5 Ways to Clear or Delete Large File Contents in Linux

Sometimes, while working with files in the Linux ...

How to cancel the background color of the a tag when it is clicked in H5

1. Cancel the blue color of the a tag when it is ...

Simple example of using Docker container

Table of contents 1. Pull the image 2. Run the im...

About nginx to implement jira reverse proxy

Summary: Configure nginx reverse proxy jira and i...

Detailed summary of mysql sql statements to create tables

mysql create table sql statement Common SQL state...

Implementation of FIFO in Linux process communication

FIFO communication (first in first out) FIFO name...

How to encapsulate the carousel component in Vue3

Purpose Encapsulate the carousel component and us...

CentOs7 64-bit MySQL 5.6.40 source code installation process

1. Install the dependency packages first to avoid...

How to monitor and delete timed out sessions in Tomcat

Preface I accidentally discovered that the half-h...

Example of using Nginx to implement port forwarding TCP proxy

Table of contents Demand Background Why use Nginx...

5 issues you should pay attention to when making a web page

1. Color matching problem <br />A web page s...