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

MySQL-8.0.26 Configuration Graphics Tutorial

Preface: Recently, the company project changed th...

About nginx to implement jira reverse proxy

Summary: Configure nginx reverse proxy jira and i...

Quickly solve the problem that CentOS cannot access the Internet in VMware

Yesterday I installed CentOS7 under VMware. I wan...

Web data storage: Cookie, UserData, SessionStorage, WebSqlDatabase

Cookie It is a standard way to save the state of ...

Vue's new partner TypeScript quick start practice record

Table of contents 1. Build using the official sca...

Common methods of Vue componentization: component value transfer and communication

Related knowledge points Passing values ​​from pa...

How to install vim editor in Linux (Ubuntu 18.04)

You can go to the Ubuntu official website to down...

CSS example code for implementing sliding doors

The so-called sliding door technology means that ...

Faint: "Use web2.0 to create standard-compliant pages"

Today someone talked to me about a website develo...

Font references and transition effects outside the system

Copy code The code is as follows: <span style=...

vue.js Router nested routes

Preface: Sometimes in a route, the main part is t...

HTML table tag tutorial (33): cell vertical alignment attribute VALIGN

In the vertical direction, you can set the cell a...

HTML sample code for implementing tab switching

Tab switching is also a common technology in proj...