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

Solution to installing vim in docker container

Table of contents The beginning of the story Inst...

Docker installation of MySQL (8 and 5.7)

This article will introduce how to use Docker to ...

Three useful codes to make visitors remember your website

Three useful codes to help visitors remember your...

Solution to define the minimum height of span has no effect

The span tag is often used when making HTML web pa...

Details on using order by in MySQL

Table of contents 1. Introduction 2. Main text 2....

Docker image analysis tool dive principle analysis

Today I recommend such an open source tool for ex...

Method to detect whether ip and port are connectable

Windows cmd telnet format: telnet ip port case: t...

Introduction to the use of MySQL pt-slave-restart tool

Table of contents When setting up a MySQL master-...