search
HomeDatabaseMysql TutorialDetailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

This article mainly introduces mysql5.6.21 installation and configuration The detailed steps of have certain reference value. Interested friends can refer to

1. Overview

MySQL version: 5.6.21

Client tool: NavicatforMySQL

2. 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:

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

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

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

3. Installation start interface

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

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

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

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

The options are as follows: install all including development environment, install only sever, only install client, install all but not Including development environment, customization

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

##The options are:

Server, related management software, connectors in various languages. 6. After selecting the picture above, select the project to be installed, and you can select Advanced Options configuration

##7. Click Next, the diagram is as follows:

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)If When such a prompt appears, you can select the project to see if there is an uninstalled environment

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)#This is where the vc++2013 environment is not installed. .

8. After the installation is complete, next stepDetailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

##9. Click Execute to install

10. Installation progress

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

11. Installation completed

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

12. Prepare configuration interface

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)##13 ,

Configure the server

type and port number, the default is

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

14. Fill in the Root user password, please remember the password

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)15. Fill in the password

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)16. Set the user and service to start up. The default is

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)17. Confirm the configuration

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)18. During the process of confirming the configuration,

if there is a pop-up window, be sure to allow it

, the diagram is as follows:

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

19. Complete configuration

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)20.Complete

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)21. Installation completed

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

3. Verification of successful installation

1. Open the command line windowDetailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

2. Enter the password

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)3. Enter the Root password and press Enter

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)4. Display MySQL>input mark

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

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

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

6. Display the four default databases of the system

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

4. Download and use of NavicatforMySQL

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

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

2. Unzip it to the D drive, the diagram is as follows:

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

3. Execution file Schematic diagram:

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

4. Double-click to display the main interface

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

5. Install the input in the downloaded file

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

6. Main interface

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

7.Connect to databaseConfiguration

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

8. Enter the Root password

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

9. Display the connection

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

10. All database details

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

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

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

12. Select the SQL to run File

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

#13. The database table execution file selected here is executed after clicking Start.

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

#14. Display the execution result and close it successfully.

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

15. Run the user SQL file

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts)

##The database configuration is completed.

The above is the detailed content of Detailed introduction to the installation and configuration steps of mysql5.6.21 (pictures and texts). 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
MySQL: BLOB and other no-sql storage, what are the differences?MySQL: BLOB and other no-sql storage, what are the differences?May 13, 2025 am 12:14 AM

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

MySQL Add User: Syntax, Options, and Security Best PracticesMySQL Add User: Syntax, Options, and Security Best PracticesMay 13, 2025 am 12:12 AM

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

MySQL: How to avoid String Data Types common mistakes?MySQL: How to avoid String Data Types common mistakes?May 13, 2025 am 12:09 AM

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters

MySQL: String Data Types and ENUMs?MySQL: String Data Types and ENUMs?May 13, 2025 am 12:05 AM

MySQloffersechar, Varchar, text, Anddenumforstringdata.usecharforfixed-Lengthstrings, VarcharerForvariable-Length, text forlarger text, AndenumforenforcingdataAntegritywithaetofvalues.

MySQL BLOB: how to optimize BLOBs requestsMySQL BLOB: how to optimize BLOBs requestsMay 13, 2025 am 12:03 AM

Optimizing MySQLBLOB requests can be done through the following strategies: 1. Reduce the frequency of BLOB query, use independent requests or delay loading; 2. Select the appropriate BLOB type (such as TINYBLOB); 3. Separate the BLOB data into separate tables; 4. Compress the BLOB data at the application layer; 5. Index the BLOB metadata. These methods can effectively improve performance by combining monitoring, caching and data sharding in actual applications.

Adding Users to MySQL: The Complete TutorialAdding Users to MySQL: The Complete TutorialMay 12, 2025 am 12:14 AM

Mastering the method of adding MySQL users is crucial for database administrators and developers because it ensures the security and access control of the database. 1) Create a new user using the CREATEUSER command, 2) Assign permissions through the GRANT command, 3) Use FLUSHPRIVILEGES to ensure permissions take effect, 4) Regularly audit and clean user accounts to maintain performance and security.

Mastering MySQL String Data Types: VARCHAR vs. TEXT vs. CHARMastering MySQL String Data Types: VARCHAR vs. TEXT vs. CHARMay 12, 2025 am 12:12 AM

ChooseCHARforfixed-lengthdata,VARCHARforvariable-lengthdata,andTEXTforlargetextfields.1)CHARisefficientforconsistent-lengthdatalikecodes.2)VARCHARsuitsvariable-lengthdatalikenames,balancingflexibilityandperformance.3)TEXTisidealforlargetextslikeartic

MySQL: String Data Types and Indexing: Best PracticesMySQL: String Data Types and Indexing: Best PracticesMay 12, 2025 am 12:11 AM

Best practices for handling string data types and indexes in MySQL include: 1) Selecting the appropriate string type, such as CHAR for fixed length, VARCHAR for variable length, and TEXT for large text; 2) Be cautious in indexing, avoid over-indexing, and create indexes for common queries; 3) Use prefix indexes and full-text indexes to optimize long string searches; 4) Regularly monitor and optimize indexes to keep indexes small and efficient. Through these methods, we can balance read and write performance and improve database efficiency.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool