Tutorial diagram of installing MySQL service through MySQL Installer under Windows

Tutorial diagram of installing MySQL service through MySQL Installer under Windows

MYSQL officially provides an Installer method to install MYSQL services and other components, making it particularly easy to install, uninstall, and configure MYSQL under Windows.

1. Installation Preparation

1.1 Preparing the MySQL installation package

Baidu Cloud Disk sharing link: https://pan.baidu.com/s/1Jni0OIJmaJj21-xeVVYeXQ Extraction code: e9is

Installing MySQL Service via MySQL Installer on Windows

Windows version installation package download

Installing MySQL Service via MySQL Installer on Windows

1.2 Check the operating system type

Checking the operating system type is mainly to understand whether the system is: 32-bit operating system (x86) or 64-bit operating system (x64)

Installing MySQL Service via MySQL Installer on Windows

1.3 Check if MySQL is installed on the system

If MySQL has been installed on the system, it is recommended to completely uninstall it and then reinstall it.

Installing MySQL Service via MySQL Installer on Windows

2. Start installation 2.0 Q&A

Before installing MySQL, here are some possible problems.

Question-1

Problem: The installer requires the computer to have .Net Framework 4.5.2

Tips:

Installing MySQL Service via MySQL Installer on Windows

Solution:

Exit the installer

Download .Net Framework 4.5.2 from Microsoft official website

Installing MySQL Service via MySQL Installer on Windows

After installing .Net Framework 4.5.2 , re-execute the MySQL installer

Question-2

Problem: The MySQL program requires the computer to have Micrsoft Visual C++ 2015 Redistributable Package (x64)

Tips:


Installing MySQL Service via MySQL Installer on Windows

Solution:

Cancel the installer

Download Micrsoft Visual C++ 2015 Redistributable Package (x64) from Microsoft official website

Installing MySQL Service via MySQL Installer on Windows

After installing Micrsoft Visual C++ 2015 Redistributable Package (x64) , re-execute the MySQL installer 2.1 to execute the installation package

After executing the installation package, the system will have some security blocking reminders, just agree to it, then agree to the authorization license and proceed to the next step.

Installing MySQL Service via MySQL Installer on Windows

2.2 Select the installation type

Developer Default: By default, all products required for MySQL development will be installed. This is not recommended.

Server only: Only install the MySQL service, usually used when deploying the MySQL service

Client only: Only install the MySQL client

Full: Installs all products and features included with MySQL

Custom: User-defined installation! ! ! This article uses user-defined installation

Installing MySQL Service via MySQL Installer on Windows

2.3 Selecting installation products and features

Install the basic components that can meet the needs of MySQL development. Here, select MySQL Server. Choose x86 or x64 according to the system type.

Installing MySQL Service via MySQL Installer on Windows

After selecting, proceed to the next step.

Installing MySQL Service via MySQL Installer on Windows

3. Start configuration

After completing the above MySQL installation steps, you need to further configure the MySQL service.

3.1 Configuration Type and Network

The MySQL installation package provides us with the best configuration by default. Just keep the default configuration here and proceed to the next step.

Installing MySQL Service via MySQL Installer on Windows

Installing MySQL Service via MySQL Installer on Windows

Installing MySQL Service via MySQL Installer on Windows

3.2 Configure account and password

After MySQL is installed, you need to set a password for the root user. After setting the password, be sure to remember it. You must use this password when you use the root user to access the MySQL service later.

Installing MySQL Service via MySQL Installer on Windows

3.3 Configure MySQL Service

As a service program, MySQL is set as a Windows service and enabled to start automatically.

Installing MySQL Service via MySQL Installer on Windows

3.4 Execute the configuration to take effect

The configuration filled in in each step above has not really taken effect yet. You need to perform the following steps to make the configuration take effect.

Installing MySQL Service via MySQL Installer on Windows

4. Use MySQL 4.1 to view MySQL services under Windows

Installing MySQL Service via MySQL Installer on Windows

4.2 Connecting to MySQL Server via MySQL Client

Connect to the MySQL server through the MySQL command line client

Installing MySQL Service via MySQL Installer on Windows

When executing the MySQL command line client, you will be prompted to enter a password. The password here is the root user password set during the configuration process. After entering it, press Enter and the connection will be successful as shown in the figure.

Installing MySQL Service via MySQL Installer on Windows

5. Extension 5.1 Add MySQL commands to PATH

Find the installation path of MySQL on Windows platform (for example, Windows 10 64-bit system is installed in C:\Program Files\MySQL\MySQL Server 5.7 by default)

Add steps (similar to configuring Java environment variable types and configuring PATH under Linux)

Installing MySQL Service via MySQL Installer on Windows

5.2 Use MySQL commands directly in the command line window

After configuring the MySQL command to the PATH path, you can execute it in any command line window when accessing MySQL.

Run the mysql -u root -p command to connect to the database service.

Installing MySQL Service via MySQL Installer on Windows

Summarize

The above is the tutorial on how to install MySQL service through MySQL Installer under Windows introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • Linux system MySQL8.0.19 quick installation and configuration tutorial diagram
  • Detailed tutorial on installing MySQL 8.0.19 in zip version on win10
  • MySql Installer 8.0.18 Visual Installation Tutorial with Pictures and Text
  • MySQL Installer Community 5.7.16 installation detailed tutorial
  • mysql installer community 8.0.12.0 installation graphic tutorial
  • MySQL8 Installer version graphic tutorial

<<:  WeChat applet implements a simple dice game

>>:  How to use VirtualBox to build a local virtual machine environment on Mac

Recommend

Examples and comparison of 3 methods for deduplication of JS object arrays

Table of contents 1. Comparison of data before an...

MySQL 8.0.11 compressed version installation tutorial

This article shares the installation tutorial of ...

How to solve the problem of MySQL query character set mismatch

Find the problem I recently encountered a problem...

Analysis of the process of building a LAN server based on http.server

I don’t know if you have ever encountered such a ...

The whole process of configuring reverse proxy locally through nginx

Preface Nginx is a lightweight HTTP server that u...

Ubuntu Server 16.04 MySQL 8.0 installation and configuration graphic tutorial

Ubuntu Server 16.04 MySQL 8.0 installation and co...

A brief discussion on Axios's solution to remove duplicate requests

Table of contents 1. Cancel duplicate requests 2....

How to Monitor Linux Memory Usage Using Bash Script

Preface There are many open source monitoring too...

HeidiSQL tool to export and import MySQL data

Sometimes, in order to facilitate the export and ...

Introduction to 10 online development tools for web design

1. Online Text Generator BlindTextGenerator: For ...

The difference between Vue interpolation expression and v-text directive

Table of contents 1. Use plugin expressions 2. Us...

Summary of changes in the use of axios in vue3 study notes

Table of contents 1. Basic use of axio 2. How to ...

MySQL Full-text Indexing Guide

Full-text indexing requires special query syntax....

Method for comparing the size of varchar type numbers in MySQL database

Create a test table -- --------------------------...