Detailed steps to install mysql 8.0.18-winx64 on win10

Detailed steps to install mysql 8.0.18-winx64 on win10

1. First go to the official website to download the MySQL installation package

https://dev.mysql.com/downloads/mysql/

2. After downloading, unzip it to the directory where you want to install MSQ (such as D:\Mysql)

3. Run the command line as an administrator and enter the bin directory of the MySQL installation package (D:\MySQL\mysql-8.0.18-winx64\bin)

4. Execute the command mysqld --initialize --console (a data folder will be automatically generated, and a temporary password will be generated. Remember the temporary password)

5. Execute the command mysqld --install (prompt that the installation is successful)

6. Execute the command net start mysql (start the MYSQL service. If the startup fails, query the reason for the failure)

7. After the mysql service is started, execute the command mysql -u root -p to log in to mysql, enter the temporary password generated in step 4, and you can log in successfully.

Note: I previously searched for the installation method on Baidu online, created a my.ini file for installation, and failed many times. Finally, I failed to create a my.ini file and successfully installed it. Each time I install, I must uninstall the previously installed MySQL and restart the computer. Then follow my steps to install it successfully.

Summarize

The above is the detailed steps for installing MySQL 8.0.18-winx64 on win10 introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • MySQL5.7.27-winx64 version win10 download and installation tutorial diagram
  • MySQL 5.7.23 winx64 installation and configuration method graphic tutorial under win10
  • mysql8.0.11 winx64 installation and configuration method graphic tutorial (win10)
  • How to install MySQL server community version MySQL 5.7.22 winx64 in win10
  • mysql5.7.19 winx64 installation and configuration method graphic tutorial (win10)
  • MySQL 5.7.10 winx64 installation and configuration method graphic tutorial (win10)
  • Mysql 5.7.17 winx64 free installation version, installation and configuration graphic tutorial under win10 environment
  • Tutorial on installing the green version of mysql-5.7.16-winx64 on 64-bit win10 system

<<:  Implementation of Nginx forwarding matching rules

>>:  Pure JavaScript to implement the number guessing game

Recommend

Sample code for html list box, text field, and file field

Drop-down box, text field, file field The upper p...

Several ways to manually implement HMR in webpack

Table of contents 1. Introduction 2. GitHub 3. Ba...

SQL IDENTITY_INSERT case study

Generally speaking, once a column in a data table...

How to modify the root user password in mysql 8.0.16 winx64 and Linux

Please handle basic operations such as connecting...

JavaScript canvas text clock

This article example shares the specific code of ...

MySQL recursion problem

MySQL itself does not support recursive syntax, b...

Detailed explanation of mandatory and implicit conversion of types in JavaScript

Table of contents 1. Implicit conversion Conversi...

Detailed explanation of the process of installing msf on Linux system

Or write down the installation process yourself! ...

Web componentd component internal event callback and pain point analysis

Table of contents Written in front What exactly i...

Let me teach you how to use font icons in CSS

First of all, what is a font icon? On the surface...

XHTML tags have a closing tag

<br />Original link: http://www.dudo.org/art...

A brief discussion on MySQL large table optimization solution

background The amount of new data in the business...

Sample code for displaying a scroll bar after the HTML page is zoomed out

Here is a record of how to make a scroll bar appe...

js+canvas realizes code rain effect

This article shares the specific code of js+canva...