MySQL 8.0.22 installation and configuration method graphic tutorial under Windows 10

MySQL 8.0.22 installation and configuration method graphic tutorial under Windows 10

MySQL 8.0.22 installation and configuration method graphic tutorial, for your reference, the specific content is as follows









This step may report an error. If there is no error, please ignore it.

Press win+r to open the run window, enter services.msc to open the service, find the service name added when installing MySQL, generally the default name of MySQL 8.0 is MySQL80, double-click to open it, and change the selected account to the local system account under the Login tab.




Add mysql environment variables

Modify mysql character set

Change the default character set of MySQL to UTF8. There is a lot of information online about how to change it.
Here we only introduce the solution under Windows:

Modify the my.ini file search under the default MySQL installation directory C:\ProgramData\MySQL\MySQL Server 8.0 and add the content default-character-set=utf8, character-set-server=utf8
Restart MySQL service


MySQL 8.0 version is installed for the first time, and the problem of failing to log in using a password (as shown in the figure)

Do not enter a password, just press Enter to log in, then change the password. The password change statement is: ALTER USER root@localhost IDENTIFIED BY '123456'; Change the password to: 123456. After the change, you can only log in with the password.

delete

Delete the service name in the service (prerequisite: mysql has been uninstalled, but there is still mysql in the service. If it is gone after uninstallation, ignore this step)

Type in cmd

sc delete mysql80 [mysql80] is the service name

If it is displayed

[SC] DeleteService failed 1072: The specified service has been marked for deletion.

Then enter and refresh the service

taskkill /F /IM mmc.exe

This is the end of the introduction to MySQL 8.0.22 installation and configuration. Welcome to give us more advice, communicate with each other, and learn together.

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:
  • How to install MySQL 8.0.28.0.msi on Windows (with pictures and text)
  • MySQL 8.0.25 installation and configuration tutorial under Windows 64 bit (most detailed!)
  • Detailed explanation of the problem of installing MYSQL5.7.24 under Windows Server 2012
  • Detailed installation process and basic usage of MySQL under Windows
  • Detailed introduction to the MySQL installation tutorial under Windows
  • Detailed tutorial for installing the unzipped version of mysql5.7.28 winx64 on windows
  • The latest version of MySQL 8.0.22 download and installation super detailed tutorial (Windows 64 bit)
  • MySQL 8.0.19 installation detailed tutorial (windows 64 bit)
  • MySQL 8.0.21 installation tutorial under Windows system (illustration and text)
  • MySQL 8.0.20 Installation Tutorial with Pictures and Text (Windows 64-bit)
  • MySQL 8.0.19 winx64 installation tutorial and change the initial password under Windows 10
  • Tutorial on installing MySQL 8.0.x on Windows

<<:  Introduction to HTML_PowerNode Java Academy

>>:  About the problem that the tomcat deployed application cannot access the front-end page

Recommend

Sample code for batch deployment of Nginx with Ansible

1.1 Copy the nginx installation package and insta...

Introduction to version management tool Rational ClearCase

Rational ClearCase is a software configuration ma...

A simple way to change the password in MySQL 5.7

This is an official screenshot. After MySQL 5.7 i...

Introduction to the properties of B-Tree

B-tree is a common data structure. Along with him...

Design Theory: Text Legibility and Readability

<br />Not long ago, due to business needs, I...

Install and configure ssh in CentOS7

1. Install openssh-server yum install -y openssl ...

How to modify the ssh port number in Centos8 environment

Table of contents Preface start Preface The defau...

Detailed explanation of the correct way to open em in CSS

Why do we say “usually 1em=16px”? The default tex...

JS uses map to integrate double arrays

Table of contents Preface Simulating data Merged ...

Front-end state management (Part 1)

Table of contents 1. What is front-end state mana...

Implementation of Vue top tags browsing history

Table of contents nonsense Functions implemented ...

Vue simulates the shopping cart settlement function

This article example shares the specific code of ...

Linux concurrent execution is simple, just do it this way

Concurrency Functions time for i in `grep server ...