MySQL 8.0.15 installation and configuration graphic tutorial

MySQL 8.0.15 installation and configuration graphic tutorial

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

Installation package download

Link: MySQL official website download address

Click the first Download. The difference between the first and second installation packages is that the first file is a zip file, which does not require installation steps, while the second one is an msi file for installation. The zip installation method is selected here.

The downloaded icons are as follows:

Unzip the installation file

Unzip to E:\MySQL\mysql-8.0.15-winx64

And add the bin directory under this file to the environment variables

Add my.ini file

The file content is written as:

[client]
port = 3308
default-character-set = UTF8MB4 
 
[mysqld]
port = 3308
character-set-server = UTF8MB4 
 
basedir=E:\MySQL\mysql-8.0.15-winx64
datadir=E:\MySQL\mysql-8.0.15-winx64\data
 
group_concat_max_len=20000
 
 
[WinMySQLAdmin]
E:\MySQL\mysql-8.0.15-winx64\bin\mysqld.exe

Open cmd as administrator

Execute the command in the bin directory of the MySQL installation directory:

mysqld --initialize --console

After the execution is complete, the initial default password of the root user will be printed. Remember the default password as it will be used later.
A temporary password is generated for root@localhost: ************
Execute the command:

mysqld --install MySQL

Start the service:

net start MySQL

change password

Execute the command in the bin directory of the MySQL installation directory:

mysql -u root -p

You will be prompted to enter a password, then enter the default initial password

Enter mysql>
Execute the command and change the password to 123456

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';

Installation and deployment completed

Wonderful topic sharing:

MySQL different versions installation tutorial

MySQL 5.7 installation tutorials for various versions

MySQL 5.6 installation tutorials for various versions

mysql8.0 installation tutorials for various versions

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 installation and configuration tutorial under Win10
  • MySQL 8.0.15 download and installation detailed tutorial is a must for novices!
  • MySQL 8.0.15 installation and configuration method graphic tutorial under Windows
  • MySQL 8.0.15 installation and configuration method graphic tutorial
  • MySQL 8.0.15 winx64 decompression version installation and configuration method graphic tutorial
  • MySQL 8.0.15 installation graphic tutorial and database basics
  • MySQL 8.0.15 installation and configuration graphic tutorial under Win10
  • MySQL 8.0.15 installation and configuration graphic tutorial and password change under Linux
  • Installation and configuration of mysql 8.0.15 under Centos7
  • MySQL 8.0.15 version installation tutorial connect to Navicat.list

<<:  React entry-level detailed notes

>>:  A brief analysis of the difference between ref and toRef in Vue3

Recommend

Specific use of MySQL internal temporary tables

Table of contents UNION Table initialization Exec...

MySQL automatically inserts millions of simulated data operation code

I use Navicat as my database tool. Others are sim...

How to Use rsync in Linux

Table of contents 1. Introduction 2. Installation...

Detailed explanation of Vue.js directive custom instructions

Customize a demo command The syntax of Vue custom...

WeChat applet implements waterfall flow paging scrolling loading

This article shares the specific code for WeChat ...

Implementation example of Docker rocketmq deployment

Table of contents Preparation Deployment process ...

How to open external network access rights for mysql

As shown below: Mainly execute authorization comm...

Detailed analysis of binlog_format mode and configuration in MySQL

There are three main ways of MySQL replication: S...

Detailed explanation of the principle and function of Vue list rendering key

Table of contents The principle and function of l...

Detailed explanation of the role and principle of key in Vue

Table of contents 1. Let’s start with the conclus...

JS deep and shallow copy details

Table of contents 1. What does shallow copy mean?...

Vue implements a simple shopping cart example

This article shares the specific code of Vue to i...