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

CSS Paint API: A CSS-like Drawing Board

1. Use Canvas images as CSS background images The...

20 JavaScript tips to help you improve development efficiency

Table of contents 1. Declare and initialize array...

Summary of frequently used commands for Linux file operations

0. New operation: mkdir abc #Create a new folder ...

Linux common commands chmod to modify file permissions 777 and 754

The following command is often used: chmod 777 文件...

How to install Docker and configure Alibaba Cloud Image Accelerator

Docker Installation There is no need to talk abou...

Several ways to add timestamps in MySQL tables

Scenario: The data in a table needs to be synchro...

Key knowledge summary of Vue development guide

Table of contents Overview 0. JavaScript and Web ...

Share MySql8.0.19 installation pit record

The previous article introduced the installation ...

Learn about TypeScript data types in one article

Table of contents Basic Types any type Arrays Tup...

What are the rules for context in JavaScript functions?

Table of contents 1. Rule 1: Object.Method() 1.1 ...

Solution for applying CSS3 transforms to background images

CSS transformations, while cool, have not yet bee...