Detailed steps for installing and configuring mysql 5.6.21

Detailed steps for installing and configuring mysql 5.6.21

1. Overview

MySQL version: 5.6.21

Download address: https://dev.mysql.com/downloads/mysql/

Client tool: Navicat for MySQL

Green version download address: https://www.jb51.net/database/290289.html

MySQL Installation

1. The file name of MySQL after downloading is: mysql_installer_community_V5.6.21.1_setup.1418020972.msi. The diagram is as follows:

clip_image001

2. After double-clicking, the following window pops up: (If the system prompts, select Allow)

clip_image002

3. Installation start interface

4. Check I accept the license terms, as shown below:

5. Select Next and the following window will pop up:

The options are as follows: Install everything including the development environment, Install only the server, Install only the client, Install everything but not the development environment, and Custom.

clip_image006

The options are:

Servers, related management software, and connectors for various languages.

6. After selecting the items as shown above, select the items to be installed and choose Advanced Options configuration.

clip_image007

7. Click Next. The diagram is as follows:

If such a prompt appears, you can select the project to see if there is any environment that is not installed.

clip_image008

clip_image009

Here the vc++2013 environment is not installed.

8. Next step after installation is complete

clip_image010

9. Click Execute to install

10. Installation progress

clip_image011

11. Installation Complete

clip_image012

12. Prepare the configuration interface

clip_image013

13. Configure the server type and port number, the default is fine

clip_image014

14. Fill in the Root user password. Please remember it.

clip_image015

15. Enter your password

clip_image016

16. Set the user and service to start at boot, the default is OK

clip_image017

17. Confirm the configuration

clip_image018

18. During the configuration confirmation process, if a pop-up window appears, be sure to allow it . The diagram is as follows:

clip_image019

19. Complete the configuration

clip_image020

20. Completion

clip_image021

21. Installation Complete

clip_image022

3. Verification of successful installation

1. Open a command line window

clip_image023

2. Enter your password

clip_image024

3. Enter the Root password and press Enter

clip_image025

4. Display MySQL> input tag

5. Enter the command to display all databases: show databases; there must be a semicolon and press Enter

clip_image027

6. Display the system's default 4 databases

clip_image028

4. Download and use of Navicat for MySQL

1. The downloaded file name is: NavicatforMySQL.zip, the schematic diagram is as follows:

clip_image029

2. Unzip to disk D. The diagram is as follows:

clip_image030

3. Execution file diagram:

4. Double-click to display the main interface

clip_image032

5. Install the input in the downloaded file

clip_image033

6. Main interface

clip_image034

7. Connection database configuration

clip_image035

8. Enter the root password

clip_image036

9. Display connection

clip_image037

10. Details of all databases

clip_image038

11. Right click and select Run SQL file...

clip_image039

12. Select the SQL file to run

13. The database table execution file is selected here, click Start to execute.

clip_image041

14. Display the execution results and close it successfully.

clip_image042

15. Run user SQL file

clip_image043

clip_image044

The database configuration is complete.

Wonderful topic sharing: Installation tutorials for different versions of MySQL Installation tutorials for MySQL 5.7 versions Installation tutorials for MySQL 5.6 versions

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Graphic tutorial for installing mysql-5.6.4 under Linux
  • MySQL 5.6 (Win7 64-bit) download, installation and configuration graphic tutorial
  • Installation and Configuration Tutorial of MySQL 5.6.11 for Windows
  • Installation and configuration process of linux mysql5.6 version
  • MySQL 5.6.17 Green Edition (Free Installation) Installation and Configuration Tutorial
  • Share the source code installation process of the latest MySQL version 5.6.13 under CentOS
  • MySQL 5.6 free installation version environment configuration graphic tutorial
  • MySQL 5.6.51 decompressed version (zip version) installation and configuration graphic method
  • How to choose the installation path when installing the MySQL 5.5/5.6/5.7 and above installation packages
  • How to install mysql 5.6.21 under Centos 6.5

<<:  Example of using Docker Swarm to build a distributed crawler cluster

>>:  Handtrack.js library for real-time monitoring of hand movements (recommended)

Recommend

Install Apache2.4+PHP7.0+MySQL5.7.16 on macOS Sierra

Although Mac systems come with PHP and Apache, so...

Detailed explanation of Docker Secret management and use

1. What is Docker Secret 1. Scenario display We k...

How to view the IP address of the Docker container

I always thought that Docker had no IP address. I...

Detailed explanation of reduce fold unfold usage in JS

Table of contents fold (reduce) Using for...of Us...

Detailed explanation of how to restore database data through MySQL binary log

Website administrators often accidentally delete ...

Detailed installation tutorial for MySQL zip archive version (5.7.19)

1. Download the zip archive version from the offi...

Using radial gradient in CSS to achieve card effect

A few days ago, a colleague received a points mal...

Search optimization knowledge to pay attention to in web design

1. Link layout of the new site homepage 1. The loc...

Examples of using MySQL covering indexes

What is a covering index? Creating an index that ...

Solution to the impact of empty paths on page performance

A few days ago, I saw a post shared by Yu Bo on G...

CSS beginner tutorial: background image fills the entire screen

If you want the entire interface to have a backgr...

Vue template compilation details

Table of contents 1. parse 1.1 Rules for intercep...