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

How to deal with common errors in the process of MySQL database installation

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly shows you the "MySQL database installation process how to deal with common errors", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "MySQL database installation process common errors how to deal with" this article.

The solution of reporting applysecuritysetting error during MySQL5.1 installation

1. Uninstall MySQL.

two。 Delete the directory C:\ DocumentsandSettings\ AllUsers\ ApplicationData\ MySQL.

3. Reinstall MySQL and OK.

[MySQL] CouldnotstarttheserviceMySQL solution

When installing mysql5.1.33, there is an error in the third StartService entry in the Executeconfigurattion step when running ServerInstanceConfigurationwizard, and the error message is CouldnotstarttheserviceMySQL (this is usually due to the fact that mysql is installed and uninstalled is not clean. Uninstall and reboot and then reinstall. Note that if you fail to uninstall the service, you can uninstall it with mysqld-nt-remove.

The specific methods are as follows:

Check to see if there is any mysql in the service, and if so, stop the service.

Run add and remove programs in the control panel to uninstall mysql.

After uninstalling, open the registry and view the key values under HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services. If there are relevant mysql keys (mysql, mysqladmin), you can delete them.

Restart and delete the remaining installation directory of mysql (check the service, there is no mysql in the service).

Reinstall mysql. Do not run ServerInstanceConfigurationwizard after installation, restart and run the wizard in the start menu.

Msyql installation to the last step startservice error resolution

1. Delete the mysql in the control panel first.

two。 Go to the C:\ ProgramFiles directory and delete the mysql directory.

3. If there are settings on other disks, delete them as well. The empty directory should also be deleted.

4. Go to regedit to change the registry:

HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQLHKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQLHKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL

If there is, delete it all! (tip: use F3 loop to find "mysql")

5. If the mysql content in the task manager is also deleted.

6. Turn off the firewall.

7, reinstall mysql (I didn't restart the computer here).

If necessary to reinstall, restart the computer, deactivate IIS, and delete temporary files in temp.

If it really doesn't work, change the name of the mysql service to another service when configuring mysql.

The above is all the contents of the article "how to deal with common errors in the installation of MySQL database". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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