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

How to install OpenSuse on virtualbox

The virtual machine is installed on the host mach...

How to deploy Rancher with Docker (no pitfalls)

Must read before operation: Note: If you want to ...

Simple comparison of meta tags in html

The meta tag is used to define file information an...

5 Ways to Send Emails in Linux Command Line (Recommended)

When you need to create an email in a shell scrip...

Tutorial on resetting the root password of Mac MySQL

Disclaimer: This password reset method can direct...

How to choose the format when using binlog in MySQL

Table of contents 1. Three modes of binlog 1.Stat...

CSS and CSS3 flexible box model to achieve element width (height) adaptation

1. CSS realizes fixed width on the left and adapt...

CSS to achieve Cyberpunk 2077 style visual effects in a few steps

background Before starting the article, let’s bri...

Native JS to implement hover drop-down menu

JS implements a hover drop-down menu. This is a s...

In-depth understanding of the use of the infer keyword in typescript

Table of contents infer Case: Deepen your underst...

MySQL index knowledge summary

The establishment of MySQL index is very importan...

Comparison of various ways to measure the performance of JavaScript functions

Table of contents Overview Performance.now Consol...

WebWorker encapsulates JavaScript sandbox details

Table of contents 1. Scenario 2. Implement IJavaS...

In-depth explanation of special permissions SUID, SGID and SBIT in Linux

Preface For the permissions of files or directori...

How to encapsulate axios request with vue

In fact, it is very simple to encapsulate axios i...