MySQL5.6.31 winx64.zip installation and configuration tutorial

MySQL5.6.31 winx64.zip installation and configuration tutorial

#1. Download

#

#2. Unzip to local and modify necessary configuration my*.ini

#3.mysql install

Start cmd in admin mode
cd mysql directory/bin

Execute the installation: mysqld -install

Start the mysql service: net start mysql

Shut down the mysql service: net stop mysql

#4.mysql encoding configuration <decompressed version of MySQL-5.6.31-winx64 encoding configuration>

There are already written ini files starting with "my-" in the root directory, such as: my-default.ini. Make a copy, change the file name to my.ini, and add the following content:

[mysqld]
#Set the character set to utf8
loose-default-character-set = utf8
character-set-server = utf8
basedir = your mysql path datadir = your mysql path/data
[client]
#Set the client character set default-character-set = utf8

PS: [client] Add this piece to the end

#5. Change Root Password

1. Specify the root user to log in to MySQL through mysql -u username -p. After entering, press Enter to be prompted to enter the password.

2. Modify the MySQL root user password, format: mysql> set password for username@localhost = password('new password');

Example:mysql> set password for root@localhost = password('shapolang');

The above example changes the password of user root to shapolang;

Log in again and enter the new password shapolang.

The above is the detailed installation and configuration tutorial of MySQL5.6.31 winx64.zip 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:
  • Mysql5.7.17 winx64.zip decompression version installation and configuration graphic tutorial
  • Summary of Problems in Installation and Usage of MySQL 5.7.19 Winx64 ZIP Archive
  • mysql 5.7.17 winx64.zip installation and configuration method graphic tutorial
  • mysql 5.7.11 winx64.zip installation and configuration method graphic tutorial
  • mysql 5.6.23 winx64.zip installation detailed tutorial
  • Detailed installation tutorial of mysql-8.0.11-winx64.zip

<<:  Vue example code using transition component animation effect

>>:  arcgis.js controls the display range of the map body to automatically bounce back when it exceeds the area (implementation ideas)

Recommend

In-depth analysis of the diff algorithm in React

Understanding of diff algorithm in React diff alg...

Use of MySQL SHOW STATUS statement

To do MySQL performance adjustment and service st...

How to implement controllable dotted line with CSS

Preface Using css to generate dotted lines is a p...

Implementation of k8s deployment of docker container

Environment: (docker, k8s cluster), continue with...

How to use docker to deploy Django technology stack project

With the popularity and maturity of Docker, it ha...

The table tbody in HTML can slide up and down and left and right

When the table header is fixed, it needs to be di...

Solution for front-end browser font size less than 12px

Preface When I was working on a project recently,...

Docker Nginx container production and deployment implementation method

Quick Start 1. Find the nginx image on Docker Hub...

Detailed explanation of the error problem of case when statement

Preface In the MySQL database, sometimes we use j...

Native js canvas to achieve a simple snake

This article shares the specific code of js canva...

Summary of H5 wake-up APP implementation methods and points for attention

Table of contents Preface Jump to APP method URL ...

How to use Samba to build a shared file service on a Linux server

Recently, our small team needs to share a shared ...

Design a data collector with vue

Table of contents Scenario Core Issues Status mon...

21 MySQL standardization and optimization best practices!

Preface Every good habit is a treasure. This arti...

How to get the current time using time(NULL) function and localtime() in Linux

time(); function Function prototype: time_t time(...