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

Implementation of FIFO in Linux process communication

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

How to Fix File System Errors in Linux Using ‘fsck’

Preface The file system is responsible for organi...

The easiest way to reset mysql root password

My mysql version is MYSQL V5.7.9, please use the ...

How to set list style attributes in CSS (just read this article)

List style properties There are 2 types of lists ...

Detailed steps to configure my.ini for mysql5.7 and above

There is no data directory, my-default.ini and my...

Docker binding fixed IP/cross-host container mutual access operation

Preface Previously, static IPs assigned using pip...

Summary of common optimization operations of MySQL database (experience sharing)

Preface For a data-centric application, the quali...

How to place large images in a small space on a web page

Original source: www.bamagazine.com There are nar...

Implementation code for installing vsftpd in Ubuntu 18.04

Install vsftpd $ sudo apt-get install vsftpd -y S...

WeChat applet realizes horizontal and vertical scrolling

This article example shares the specific code for...

How to configure common software on Linux

When you get a new Linux server, you generally ha...

Detailed explanation of Vue development website SEO optimization method

Because the data binding mechanism of Vue and oth...

JavaScript to implement a simple clock

This article example shares the specific code for...