Specific method to delete mysql service

Specific method to delete mysql service

MySQL prompts the following error

I went to "Control Panel->Administrative Tools->Services" and found that although MYSQL had been uninstalled, the MYSQL service still remained in the system services.

I don't want to change the service name, what should I do?

Just enter a command in CMD to delete the service:

sc delete mysql //Here mysql is the service name you want to delete

In this way, the service is deleted. Enter the service and check that there is indeed no MySQL service, OK.

Solution to the error in the last step of msyql installation: start service

1. Go to the control panel and delete mysql first.

2. Go to the C:\Program Files directory on the C drive and delete the mysql directory.

3. If there are setup directories on other disks, delete them as well. Empty directories should also be deleted.

4. Go to regedit to change the registry

HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL

HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL

Content extension:

How to delete the mysql service in the service

You can check the MYSQL service in Windows Management and stop it or stop it with a command in DOS

1. If you want to uninstall MYSQL, execute the following command:

>mysqld -remove mysql

2. Start MYSQL: Under DOS

>net start mysql

3. Stop MYSQL: Under DOS

>net stop mysql

You first type in the run

CMD

Under DOS

>net stop MySQL

This is the end of this article about the specific method of deleting the MySQL service. For more information about how to delete the MySQL service, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • How to check if a table exists in MySQL and then delete it in batches
  • Why the table file size remains unchanged after deleting data in MySQL
  • Three ways to delete a table in MySQL (summary)
  • How to find and delete duplicate records in MySQL
  • Detailed explanation of several practical solutions for quickly deleting large amounts of data (tens of millions) in MySQL
  • MySQL's method of dealing with duplicate data (preventing and deleting)
  • MySQL database operations (create, select, delete)
  • How to recover deleted MySQL 8.0.17 root account and password under Windows
  • How to completely delete the MySQL 8.0 service under Linux
  • MySQL table deletion operation implementation (differences between delete, truncate, and drop)
  • Troubleshooting the reasons why MySQL deleted records do not take effect

<<:  Comparison between Redis and Memcache and how to choose

>>:  Vue implements drag and drop or click to upload pictures

Recommend

How to use MySQL 5.7 temporary tablespace to avoid pitfalls

Introduction MySQL 5.7 aims to be the most secure...

Using JavaScript in HTML

The <script> tag In HTML5, script has the f...

JavaScript canvas implements graphics and text with shadows

Use canvas to create graphics and text with shado...

The difference and choice between datetime and timestamp in MySQL

Table of contents 1 Difference 1.1 Space Occupanc...

Hadoop 3.1.1 Fully Distributed Installation Guide under CentOS 6.8 (Recommended)

Foregoing: This document is based on the assumpti...

HTML+CSS project development experience summary (recommended)

I haven’t updated my blog for several days. I jus...

Discussion on the problem of iframe node initialization

Today I suddenly thought of reviewing the producti...

Practice of dynamically creating dialog according to file name in vue+el-element

Table of contents background accomplish 1. Encaps...

How to modify the IP restriction conditions of MySQL account

Preface Recently, I encountered a requirement at ...

Specific use of nginx keepalive

The default request header of the http1.1 protoco...

Linux debugging tools that developers and operators must look at [Recommended]

System performance expert Brendan D. Gregg update...

Summary of 16 XHTML1.0 and HTML Compatibility Guidelines

1. Avoid declaring the page as XML type . The pag...