MySQL 8.0.14 installation and configuration method graphic tutorial

MySQL 8.0.14 installation and configuration method graphic tutorial

This article records the installation and configuration process of MySQL 8.0.14 for your reference. The specific contents are as follows

1. Download

Address: Download address

Find the zip file.

2. Configure environment variables

Configure the unzipped path to the environment variable

3. Installation

Create a new my.ini configuration file in the unzipped folder

[mysqld]
# Set port 3306 port=3306
# Set the installation directory of mysql basedir=C:\Program Files\MySQL\mysql-8.0.14-winx64
# Set the storage directory of mysql database data datadir=C:\Program Files\MySQL\mysql-8.0.14-winx64\Data
# Maximum number of connections allowed max_connections=200
# The number of connection failures allowed.
max_connect_errors=10
# The default character set used by the server is UTF8
character-set-server=UTF8MB4
# The default storage engine that will be used when creating a new table default-storage-engine=INNODB
#Default authentication is done with the "mysql_native_password" plugin #mysql_native_password
default_authentication_plugin=mysql_native_password
[mysql]
# Set the default character set of the mysql client to default-character-set=UTF8MB4
[client]
# Set the default port used by the mysql client to connect to the server port = 3306
default-character-set=UTF8MB4

Note: Configure the default character set to use UTF8MB4, otherwise an error will be reported. UTF8MB4 allows a character to have a maximum of 4 bits. Since 3 bits will cause an error, 4 bits are added. This version cannot be installed without using mb4.

Run cmd as administrator

cd Switch directory to the mysql bin directory

run

mysqld --initialize --console

A password will be generated after root@localhost

Then run

mysqld --install
net start mysql

Complete the installation.

When using navicat to connect, you will be prompted to reset the password.

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 8.0.15 winx64 decompression version installation and configuration method graphic tutorial
  • MySQL 8.0.15 installation and configuration method graphic tutorial under Windows
  • MySQL 8.0.13 installation and configuration method graphic tutorial
  • MySQL 8.0.13 decompression version installation and configuration method graphic tutorial
  • MySQL 8.0.13 download and installation tutorial with pictures and text
  • MySQL 8.0.13 installation and configuration method graphic tutorial under win10
  • The data folder failed to be created automatically during the installation of mysql8.0.14.zip. The service cannot be started.
  • MySQL 8.0.14 installation and configuration method graphic tutorial (general)
  • MySQL 8.0.15 installation and configuration tutorial under Win10

<<:  jQuery framework implements three animation methods of element display and hiding

>>:  win10 docker-toolsbox tutorial on building a php development environment

Recommend

How to insert video into HTML and make it compatible with all browsers

There are two most commonly used methods to insert...

Detailed graphic explanation of sqlmap injection

Table of contents 1. We found that this website m...

The grid is your layout plan for the page

<br /> English original: http://desktoppub.a...

Zabbix configures DingTalk's alarm function with pictures

Implementation ideas: First of all, the alarm inf...

How Web Designers Create Images for Retina Display Devices

Special statement: This article is translated bas...

Distinguishing between Linux hard links and soft links

In Linux, there are two types of file connections...

Detailed explanation of the basic usage of VUE watch listener

Table of contents 1. The following code is a simp...

Introduction to Enterprise Production MySQL Optimization

Compared with other large databases such as Oracl...

Use tomcat to deploy SpringBoot war package in centos environment

Prepare war package 1. Prepare the existing Sprin...

js to achieve waterfall flow layout (infinite loading)

This article example shares the specific code of ...

Docker deployment and installation steps for Jenkins

First, we need a server with Docker installed. (I...

Vue3.0 handwriting magnifying glass effect

The effect to be achieved is: fixed zoom in twice...

How to implement Docker to dynamically pass parameters to Springboot projects

background Recently, some friends who are new to ...

Using System.Drawing.Common in Linux/Docker

Preface After the project is migrated to .net cor...