1. Install and uninstall MySQL. 1. Install and uninstall MySQL.
1. What is a database? Commonly known as the data warehouse, convenient data management software (or programs) 2. MySQL entry
1. Download from the official website
2. Install MySql
Double-click the installation button, but note that the installation directory cannot contain Chinese characters.
2.1 verify that the installation is successful
Open the command line --> enter "mysql-u root-p" and press Enter. enter the password --> press ENTER
If the following message is displayed, the operation is successful.
C: \ Users \ Administrator> mysql-u root-p
Enter password :******
Welcome to the MySQL monitor. Commands end with; or \ g.
Your MySQL connection id is 2
Server version: 5.5.30 MySQL Community Server (GPL)
Copyright (c) 2000,201 3, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
Affiliates. Other names may be trademarks of their respective
Owners.
Type 'help; 'or' \ H' for help. type' \ C' to clear the current input statement.
Mysql>
3. uninstall MySQL (taking Win7 as an example)
A. Stop the MySQL service of window.
Find "Control Panel" --> "management tool" --> "service" to stop the MySQL background service.
B. Uninstall the MySQL Installer
"Control Panel" --> "programs and functions", uninstall MySQL programs
C. Delete all files in the MySQL installation directory.
D. Delete the MySQL directory in the hidden directory of the C drive ProgramData.
ProgramData: This is a hidden directory under drive C. Open the "show hidden files" function and you can find it.
Delete it.