Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of clearing mysql by system service

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the method of clearing mysql by system service, which is very detailed and has certain reference value. Friends who are interested must finish reading it!

The system service clears the mysql by first entering [CMD] in the running window, and then entering the code [net stop mysql;mysqld-nt-remove] in the window.

How the system service clears the mysql:

1. Enter "CMD" in the run window

2. Delete service: sc delete mysql / / the mysql here is the name of the service you want to delete

Enter the following command in CMD.

Net stop mysql / / stop service mysqld-nt-remove / / delete

Under win2k:

First of all, stop the service. Remove the service items of the system: mysqld-max-nt-remove

Delete the directory.

3. When you uninstall the old MYSQL database service from your computer, first stop the MYSQL service in the WINDOWS service. Then delete it in the add and delete program in the control panel, but you can't delete the MYSQL service completely, so you need to remove your MYSQL service from the registry.

There are several places:

1. Delete the HKEY_LOCAL_MACHINE\ SYSTEM\ ControlSet001\ Services\ Eventlog\ Application\ MySQL directory

2. Delete the HKEY_LOCAL_MACHINE\ SYSTEM\ ControlSet002\ Services\ Eventlog\ Application\ MySQL directory

3. Delete the HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ Eventlog\ Application\ MySQL directory

The ControlSet001,ControlSet002 in the registry may not be 001 and 002, but may be ControlSet005, 006 and so on. When you delete it, you can delete it.

Check if there is a my.ini file in the C:\ WINDOWS directory and delete it.

The above are all the contents of the method of clearing mysql in the system service. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report