MYSQL installation and uninstallation (a)

System: win10 (other versions of this system is not content)

MYSQL Download: https://dev.mysql.com/downloads/mysql/

MySQL installation mainstream divided into two types: msi, zip

Zip: Compact, which requires init configuration file, and then enter cmd operating console through win + R (this version with msi-based, follow-up there will be related blog complements)

wps1

msi: this is the installer, double-click to start the installation, the installation prompts can be, this installation version is MYSQL5.7

The following graphic describes the use of MYSQL installation:

wps2

wps3

The default version of the data is too high we chose to install 5.7

wps4

 

 

Installation: Double-click the downloaded file success

wps9

wps10

wps11

wps12

wps13

Up next

wps14

wps15

Dedicated server, the port number is generally not changed, 3306

wps16

Set Password Note: password length greater than or equal to 4

wps17

wps18

wps19

wps20

Click Finish after both detection and then continue through the last Next Finish namely the installation is complete

MYSQL Uninstall

The first step: Go to Control Panel to find even a file below to uninstall

wps21

Step two: Go to Task Manager, find the beginning of the MYSQL service all the stops to find the installation location defined MYSQL MYSQL delete files

wps22

The third step: open the hidden display, in the root directory of the C drive inside, there is a ProgramData file, which has a MYSQL file, this file is also deleted

wps23

wps24

Step Four: Press win + R key, run "regedit" file, open the registry.

  Delete HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL folder

  Delete HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services \ Eventlog \ Application \ MySQL folder.

  Delete HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL folder.

If there is no appropriate folder, do not delete

If you encounter MYSQL service is not started, Powershell can use administrator privileges,

Execution: net start database name

If you want to stop MYSQL services:

Execution: net stop database name

Guess you like

Origin www.cnblogs.com/pwj-StudyCode/p/11546263.html