Detailed installation steps for MySQL 8.0.11

Detailed installation steps for MySQL 8.0.11

This article shares the installation steps of MySQL 8.0.11 for your reference. The specific contents are as follows

Step 1: Download the installation package

MYSQL official download address: Official Download

這里寫圖片描述

The first option here is online installation, and the second option is offline package installation. I chose the second option (regardless of the operating system of your computer) because:
Note: MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries.

這里寫圖片描述

No need to register or log in, just select the lower left button to download: No thanks, just start my download

Step 2 : Installation

I choose Custom installation here, or you can choose Default

這里寫圖片描述

Because I did a custom installation, I only selected the following two installation contents

If the following prompt appears, it means that the machine does not have a VC environment, so the installation cannot proceed. You need to download the VC environment first.

Download VC environment: Official address If the address is invalid, you can also Baidu: microsoft visual c++ 2015 to download

After the environment is downloaded and installed, we come back and reinstall it, and find that this step will become

這里寫圖片描述

Next, install it all the way

這里寫圖片描述

這里寫圖片描述

The above step is to create a user, and then go down

這里寫圖片描述

這里寫圖片描述

After the installation is complete, you can see in the service that the MYSQL service has been started, the bin directory (default: C:\Program Files\MySQL\MySQL Server 8.0\bin)

But if we use a third-party application such as Navicat to log in, we will be prompted: Authentication plugin 'caching_sha2_password' cannot be loaded

After checking, it was found that 8.0 changed the authentication plugin

Solution

ALTER USER stocker@localhost IDENTIFIED WITH mysql_native_password BY 'stocker';

If it is the latest version of the third-party software, the authentication may have been changed automatically and no manual modification is required.

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:
  • RHEL7.5 mysql 8.0.11 installation tutorial
  • MySQL 8.0.11 installation and configuration method graphic tutorial
  • MySQL 8.0.11 MacOS 10.13 installation and configuration method graphic tutorial
  • MySQL 8.0.11 winx64 installation and configuration method graphic tutorial
  • MySQL 8.0.12 installation and configuration method graphic tutorial
  • MySQL 8.0.12 installation and configuration graphic tutorial
  • MySQL 8.0.12 decompression version installation tutorial
  • mysql installer community 8.0.12.0 installation graphic tutorial
  • MySQL 8.0.12 installation configuration method and password change
  • MySQL 8.0.11 MSI version installation and configuration graphic tutorial

<<:  Example of how to mosaic an image using js

>>:  How to implement gzip compression in nginx to improve website speed

Recommend

Analysis and solution of MySQL connection throwing Authentication Failed error

[Problem description] On the application side, th...

Detailed explanation of vuex persistence in practical application of vue

Table of contents vuex persistence Summarize vuex...

iFrame is a great way to use it as a popup layer to cover the background

I have been working on a project recently - Budou ...

The visual design path of the website should conform to user habits

Cooper talked about the user's visual path, w...

MySQL installation tutorial under Centos7

MySQL installation tutorial, for your reference, ...

CSS code to control the background color of the web page

I think everyone often worries about finding pict...

How to use SessionStorage and LocalStorage in Javascript

Table of contents Preface Introduction to Session...

How to query a record in Mysql in which page of paging

Preface In practice, we may encounter such a prob...

How to debug loader plugin in webpack project

Recently, when I was learning how to use webpack,...

Detailed explanation of TIMESTAMPDIFF case in MySQL

1. Syntax TIMESTAMPDIFF(unit,begin,end); Returns ...

Some questions about hyperlinks

I am very happy to attend this episode of potato ...

20 JS abbreviation skills to improve work efficiency

Table of contents When declaring multiple variabl...

Detailed explanation of Vue life cycle

Table of contents Why understand the life cycle W...