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

Linux Jenkins configuration salve node implementation process diagram

Preface: Jenkins' Master-Slave distributed ar...

How to find the specified content of a large file in Linux

Think big and small, then redirect. Sometimes Lin...

Several methods to solve the problem of MySQL fuzzy query index failure

When we use the like % wildcard, we often encount...

Vue calls the PC camera to realize the photo function

This article example shares the specific code of ...

Three common ways to embed CSS in HTML documents

The following three methods are commonly used to d...

Methods and steps for deploying GitLab environment based on Docker

Note: It is recommended that the virtual machine ...

How to completely uninstall node and npm on mac

npm uninstall sudo npm uninstall npm -g If you en...

Nginx try_files directive usage examples

Nginx's configuration syntax is flexible and ...

Complete Tutorial on Deploying Java Web Project on Linux Server

Most of this article refers to other tutorials on...

Summary of pitfalls encountered in installing mysql and mysqlclient on centos7

1. Add MySQL Yum repository MySQL official websit...

Detailed explanation of MySQL information_schema database

1. Overview The information_schema database is th...

js realizes the dynamic loading of data by waterfall flow bottoming out

This article shares with you the specific code of...

Use pure CSS to disable the a tag in HTML without JavaScript

In fact, this problem has already popped up when I...

Mysql 5.7.18 Using MySQL proxies_priv to implement similar user group management

Use MySQL proxies_priv (simulated role) to implem...