Tutorial for installing MySQL 8.0.18 under Windows (Community Edition)

Tutorial for installing MySQL 8.0.18 under Windows (Community Edition)

This article briefly introduces how to install MySQL under Windows. If you have other questions, please leave a message in time.

1. Download

Official website download address: MySQL Community Server 8.0.18

insert image description here

2. Installation

After downloading, unzip it and use cmd with administrator privileges to enter the mysql bin directory;

Enter the following command:

mysqld --initialize --console displays the local user and password of mysql mysqld --install installs mysql -u root -p to enter the database

Change new password:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new password';

Log in to the database normally and the installation is complete.

Summarize

The above is the tutorial on installing MySQL 8.0.18 under Windows 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:
  • MySQL 8.0.18 installation and configuration method graphic tutorial under win10 (windows version)
  • MySQL 8.0.18 installation tutorial under Windows (illustration)
  • mysql 8.0.18.zip installation and configuration method graphic tutorial (windows 64 bit)
  • Installation method of mysql-8.0.17-winx64 under windows 10
  • MySQL 8.0.13 free installation version configuration tutorial under Windows environment
  • Solve the problems encountered when installing mysql-8.0.11-winx64 in Windows environment
  • Tutorial diagram of installing MySQL service through MySQL Installer under Windows

<<:  How to configure environment variables in Linux environment

>>:  JS implements layout conversion in animation

Recommend

Summary of bootstrap learning experience-css style design sharing

Due to the needs of the project, I plan to study ...

MySQL 5.7 installation and configuration tutorial under CentOS7 (YUM)

Installation environment: CentOS7 64-bit, MySQL5....

How to set npm to load packages from multiple package sources at the same time

Table of contents 1. Build local storage 2. Creat...

Vue form input binding v-model

Table of contents 1.v-model 2. Binding properties...

Vue realizes web online chat function

This article example shares the specific code of ...

MySQL database advanced query and multi-table query

MySQL multi-table query Add a worksheet -- User t...

Canonical enables Linux desktop apps with Flutter (recommended)

Google's goal with Flutter has always been to...

How to quickly install tensorflow environment in Docker

Quickly install the tensorflow environment in Doc...

How to use module fs file system in Nodejs

Table of contents Overview File Descriptors Synch...

Tutorial on installing GreasyFork js script on mobile phone

Table of contents Preface 1. Iceraven Browser (Fi...

How to use Cron Jobs to execute PHP regularly under Cpanel

Open the cpanel management backend, under the &qu...