Enter When the following content appears, it is considered successful. C:\Users\Administrator>"/> Enter When the following content appears, it is considered successful. C:\Users\Administrator>">

Home >Database >Mysql Tutorial >How to install and uninstall MySQL

How to install and uninstall MySQL

巴扎黑
巴扎黑Original
2017-06-23 15:08:111490browse

1.What is a database?

 Commonly known as a data warehouse, software (or program) that facilitates data management

2. Getting started with MySQL

1. Official website download

2. Install MySql

Just double-click to install, but please note that Chinese characters cannot appear in the installation directory.

 2.1 Verify whether the installation is successful

Open the command line-->Enter "mysql -u root -p" and press Enter, enter the password -->Enter

When the following content appears, it is considered 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, 2013, 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 system as an example)

a. Stop the MySQL service in the window

Find the "Control Panel" --> ;"Management Tools"-->"Services", stop the MySQL background service

 b. Uninstall the MySQL installation program

  Control Panel "-->"Programs and Features", uninstall the MySQL program

c. Delete all files in the MySQL installation directory

d. Delete the directory about MySQL in the ProgramData hidden directory on the C drive

ProgramData is a hidden directory under the C drive. Turn on the "Show hidden files" function to find it

   Just delete it.

   

The above is the detailed content of How to install and uninstall MySQL. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn