MySQL8.0.18 install custom installation

First, download the MySQL Community Server

Hello, helpful, please point a praise

1, enter the following URL

https://dev.mysql.com/downloads/mysql/
Here Insert Picture Description

2. Select Download

An online installation, an offline installation, I chose off-line, it is the second.
Here Insert Picture Description

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.
Here Insert Picture Description

2, select the components you want to install their own

  1. MySQL Server: database services, you want to install this.
  2. MySQL Workbench: a MySQL's ER / database modeling tools.
  3. MySQL for Visual Studio: If you use VS programming, and use VS to connect to the database table management will need to install this.
  4. MySQL for Excel: Excel is a plug-in, allows us to deal with MySQL data in Microsoft excel in.
  5. 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.
  6. MySQL Shell: senior client and the MySQL Server code editor.
  7. MySQL Router: generally less than.
  8. MySQL Connector: some connections mysql driver package.
  9. MySQL Documentation: official documentation of some mysql.
    Here Insert Picture Description

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
Here Insert Picture Description

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.Here Insert Picture Description

5, choose the right path, click next

Here Insert Picture Description

6. Click Execute, status display is after complete click next

Here Insert Picture Description
Here Insert Picture Description

7, by default, next

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

8, set up with a password, find a place to write it down, I'm old forgotten. After the next

Here Insert Picture Description

9, by default, next

Here Insert Picture Description

10, click on Execute, the installation is complete, click finish

Here Insert Picture Description

11, after the next, finish

Here Insert Picture Description

Third, the mysql configuration environment variable (optional)

Take for example win10, win10 relatively simple configuration environment variable

1, into the mounting mesh mysql

Here Insert Picture Description

2, "this computer" on the right, select Properties

Here Insert Picture Description

3, select Advanced System Variables

Here Insert Picture Description

4, select Environment Variables

Here Insert Picture Description

5, selection, system variables -> Path, double-click or click Edit

Here Insert Picture Description

6, click New

Here Insert Picture Description

7, to just bin directory, copy and paste it into the input box after the New, and then all the way OK.

Here Insert Picture Description

8, start CMD or Power Shell, enter mysql, the following interface configuration was successful.

Here Insert Picture Description

9, the input mysql -u root -p, then enter the password, the following interface, the database connection is successful

Here Insert Picture Description

Published 59 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_27009225/article/details/103956756