Detailed installation and uninstallation tutorial for MySQL 8.0.12

Detailed installation and uninstallation tutorial for MySQL 8.0.12

1. Installation steps for MySQL 8.0.12 version.

1. Download

https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.12-winx64.zip

2. Unzip

Unzip mysql-8.0.12-winx64.zip to the D:/mysql directory

3Open the cmd command console and enter the following command.

d:

cd\

cd mysql

cd bin

d:\mysql\bin>mysqld --initialize-insecure Initialize the database directory, the account is root, and there is no password. After execution, there will be an additional data folder in the mysql directory.

4. Install the database system service and enter the following command.

d:\mysql\bin\mysqld --install xxx xxx is the service name. If it is not written, the default service name is mysql.

net start mysql starts the database service

5. Log in to the database server

d:\mysql\bin>mysql -uroot Direct login without password

mysql>select version(); View the current version number

mysql>show user(); View login account

mysql>show databases; View all databases

mysql>create database db; Create a database

6. Exit uninstall

mysql>exit Exit the client

d:\nysql\bin>net stop mysql to stop the service

d:\mysql\bin>mysqld --remove Uninstall service

The above is a detailed installation and uninstallation tutorial of MySQL 8.0.12 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!

You may also be interested in:
  • How to install and uninstall MySQL 5.7.11 on Mac
  • How to install and uninstall MySQL service under Windows (MySQL 5.6 zip decompression version installation tutorial)
  • MySQL uninstall and install graphic tutorial under Linux
  • Installation and uninstallation of MySQL 5.7 decompressed version and summary of common problems
  • Detailed explanation of installing and completely uninstalling mysql with apt-get under Ubuntu
  • Ubuntu 16.04.1 MySQL installation and uninstallation graphic tutorial
  • Detailed tutorial on MySql installation and uninstallation
  • If MYSQL is not completely uninstalled, its installation will fail.
  • Complete step-by-step record of MySQL 8.0.26 installation and uninstallation

<<:  How to install pyenv under Linux

>>:  How to convert JavaScript array into tree structure

Recommend

Pure CSS code to achieve drag effect

Table of contents 1. Drag effect example 2. CSS I...

Detailed explanation of scheduled tasks for ordinary users in Linux

Preface Ordinary users define crontab scheduled t...

How to install and uninstall open-vswitch in Linux

1. Compile and install ovs from source code: Inst...

Appreciation of the low-key and elegant web design in black, white and gray

Among classic color combinations, probably no one...

Detailed explanation of Mysql logical architecture

1. Overall architecture diagram Compared to other...

React Router 5.1.0 uses useHistory to implement page jump navigation

Table of contents 1. Use the withRouter component...

MySQL 8.0.18 installation and configuration method graphic tutorial (linux)

This article records the installation and configu...

Mybatis mysql delete in operation can only delete the first data method

Bugs As shown in the figure, I started to copy th...

Windows 10 is too difficult to use. How to customize your Ubuntu?

Author | Editor Awen | Produced by Tu Min | CSDN ...

Detailed introduction and usage examples of map tag parameters

Map tags must appear in pairs, i.e. <map> .....

How to set up ssh password-free login to Linux server

Every time you log in to the test server, you alw...

Detailed explanation of MySQL basic operations (Part 2)

Preface This article contains 1. Several major co...

XHTML Getting Started Tutorial: Simple Web Page Creation

Create your first web page in one minute: Let'...

Vue.js uses Element-ui to implement the navigation menu

This article shares the specific code for impleme...

Detailed explanation of Navicat's slow remote connection to MySQL

The final solution is in the last picture If you ...