table of Contents
- First, download the MySQL Community Server
- Second, install MySQL
- 1, the installation mode selected
- 2, select the components you want to install their own
- 3. Click on "Advanced Options" select the installation path
- 4, select the installation path, even a suggestion to separate
- 5, choose the right path, click next
- 6. Click Execute, status display is after complete click next
- 7, by default, next
- 8, set up with a password, find a place to write it down, I'm old forgotten. After the next
- 9, by default, next
- 10, click on Execute, the installation is complete, click finish
- 11, after the next, finish
- Third, the mysql configuration environment variable (optional)
- 1, into the mounting mesh mysql
- 2, "this computer" on the right, select Properties
- 3, select Advanced System Variables
- 4, select Environment Variables
- 5, selection, system variables -> Path, double-click or click Edit
- 6, click New
- 7, to just bin directory, copy and paste it into the input box after the New, and then all the way OK.
- 8, start CMD or Power Shell, enter mysql, the following interface configuration was successful.
- 9, the input mysql -u root -p, then enter the password, the following interface, the database connection is successful
First, download the MySQL Community Server
Hello, helpful, please point a praise
1, enter the following URL
https://dev.mysql.com/downloads/mysql/
2. Select Download
An online installation, an offline installation, I chose off-line, it is the second.
Second, install MySQL
1, the installation mode selected
Developer Default: the default type developer, install only the common components; Server Only: Only installed servers, Client Only: Only install the client; Full: All installed products, taking up disk space is larger, generally not recommended. We select Custom: Custom installation, you can choose components to install, select the installation path and so on.
2, select the components you want to install their own
- MySQL Server: database services, you want to install this.
- MySQL Workbench: a MySQL's ER / database modeling tools.
- MySQL for Visual Studio: If you use VS programming, and use VS to connect to the database table management will need to install this.
- MySQL for Excel: Excel is a plug-in, allows us to deal with MySQL data in Microsoft excel in.
- MySQL Notifier: aid is a MySQL database. It can (system tray) in your system tray notification area at the resident icon for the shortcut to monitor, change the status of the server instance (services). At the same time, it can also be integrated with the use of some graphical management tools (such as MySQL Workbench). Generally less than.
- MySQL Shell: senior client and the MySQL Server code editor.
- MySQL Router: generally less than.
- MySQL Connector: some connections mysql driver package.
- MySQL Documentation: official documentation of some mysql.
3. Click on "Advanced Options" select the installation path
You may not, select the components that will be installed on the right side, bottom right will appear
4, select the installation path, even a suggestion to separate
The first position is a MySQL installation path, the second position is located in the data.
5, choose the right path, click next
6. Click Execute, status display is after complete click next
7, by default, next
8, set up with a password, find a place to write it down, I'm old forgotten. After the next
9, by default, next
10, click on Execute, the installation is complete, click finish
11, after the next, finish
Third, the mysql configuration environment variable (optional)
Take for example win10, win10 relatively simple configuration environment variable