MySQL8.0.12 installation and configuration tutorial, mysql based tutorial learning

MySQL8.0.12 Installation and Configuration Tutorial

A. Installation

1. Download MySQL8.0.12 version from the Internet, download address: https: //dev.mysql.com/downloads/mysql/

 

 

 

 

 

 

2. Download the complete decompression

        I unpacked the path is: D: \ Java \ mysql-8.0.12-winx64

 

3. Profiles

        First check in the path of the extracted files if they contain my.ini, if not the new one, which reads as follows:

 

[mysqld]

Set # 3306 Port

port=3306

# Set the mysql installation directory

basedir=D:\Java\mysql-8.0.12-winx64

# Set the data storage directory of mysql database

datadir=D:\Java\mysql-8.0.12-winx64\data

# Maximum number of connections allowed

max_connections=200

# Allowed number of failed connections. This is to prevent someone from trying to attack the host database system

max_connect_errors=10

# Server using the default character set to UTF8

character-set-server=utf8

The default storage engine that will be used when creating a new table #

default-storage-engine=INNODB

# Default "mysql_native_password" plug-in authentication

default_authentication_plugin=mysql_native_password

[mysql]

# Mysql client to set the default character set

default-character-set=utf8

[client]

# Set the default mysql client server connection

Guess you like

Origin blog.csdn.net/mysqlsd/article/details/103664959