Precautions for uninstalling mysql
Because the database software is very complex, there are many configurations to choose whether to install Mysql or sqlserver.
If you fail to install the database for the first time, and then want to uninstall it again, it may be because the first uninstallation is incomplete, this will cause you to encounter an error during the second installation (for example, the installation progress stops at one place and does not change). This is because the last Installation File remains on the installation path and conflicts with the installation, to install the program again, we must completely delete the program installed for the first time.
Take my computer as an example. First, we can use the "Installation Wizard" of mysql to unmount it, but there will be a residue at this time. We open "my computer" and enter the C drive, A file is hidden in drive C. This file is very important, so the system generally hides it, So we open drive C, tools-> Folder Options-> View-> hide files and folders, and then hook "Show Hidden Files". Now you can see the ProgramData file and open it to delete the "mysql" folder, procedure
Use the uninstall tool (360 uninstall or the system-provided uninstall) to uninstall mysql.
In the last step, the folder in the mysql installation directory is also deleted (if it does not exist, it indicates that the program is also deleted when it is uninstalled). At this time, we have deleted mysql, now there is no problem with the installation. There are many installation tutorials online. You can search for them by yourself. After the installation, open "Task Manager" to check whether our mysql service exists in the "service,
In this case, verify that the installation is correct. if the service exists and is enabled, it indicates that the mysql program has been installed and the service has been started. we can also download a visual management software (sqlyog) for our use. After all, the operations on the Character interface are not very convenient.