search
HomeDatabaseMysql TutorialHow to download and install mysql? mysql download and installation details tutorial

This article explains the download and installation tutorial of mysql in detail. The download address is attached, as well as the MySQL environment configuration. Each step is introduced in detail for your reference. I hope it will be helpful to you. (Mysql free learning video recommendation: mysql tutorial)

1. Download MySQL (take MySQL5.7 version as an example)

Download URL: https: //dev.mysql.com/downloads/mysql/5.7.html#downloads

Generally, you can download the MySQL 32-bit binary compressed package. The 64-bit version will generally report "mysql service" during installation. "Unable to start 3534" error,

If you download a 64-bit binary installation package, "mysql service cannot start 3534" and other similar errors are also reported, please use Baidu to solve the problem,

This article starts with Take the 32-bit MySQL binary compressed package installation as an example, as shown in the figure below:

How to download and install mysql? mysql download and installation details tutorial

If you want to download other versions of MySQL, the download URL is as follows, as shown in the figure below:

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

How to download and install mysql? mysql download and installation details tutorial

2. MySQL environment configuration

Extract the downloaded MySQL binary compressed package to a place you think is suitable, and then right-click "My Computer--Properties--Advanced System Settings

--Environment Variables" to enter the environment variable interface, as follows As shown in the picture:

How to download and install mysql? mysql download and installation details tutorial

How to download and install mysql? mysql download and installation details tutorial

Then add the path of the bin directory of the MySQL file you decompressed to the path variable,

As shown below:

How to download and install mysql? mysql download and installation details tutorial

How to download and install mysql? mysql download and installation details tutorial

3. Configuration verification and MySQL installation

As administrator Run fang mode to open the dos command window, enter mysql -V, if the MySQL version is printed out,

, it proves that the MySQL environment configuration is successful, as shown below:

How to download and install mysql? mysql download and installation details tutorial

(1), MySQL initialization (initialization without password)

Continue in the dos command window running as administrator, enter the mysqld --initialize-insecure command to continue initialization without an initial password,

As shown below:

How to download and install mysql? mysql download and installation details tutorial

The official document is as follows (can be skipped):

How to download and install mysql? mysql download and installation details tutorial

The URL is as follows (can be skipped):

https://dev.mysql.com/doc/refman/5.7/en/data-directory-initialization-mysqld.html

(2). Install MySQL

Continue with one step. Enter the mysqld install command again and press Enter. Service successfully installed will appear.

means the installation is successful, as follows As shown in the figure:

How to download and install mysql? mysql download and installation details tutorial

(3). Start the MySQL service

Continue the previous step and enter the net start mysql command to start the MySQL service, as shown in the following figure:

How to download and install mysql? mysql download and installation details tutorial

(4) Connect to MySQL

Enter the mysql -u root -p command again and press Enter. Because there is no password, continue to press Enter directly to enter the MySQL interface. ,

As shown below:

How to download and install mysql? mysql download and installation details tutorial

5. Set password (if necessary)

Continue in the MySQL interface of the previous step , enter, set password = password("your password"); press Enter

That is, if the password is set successfully, MySQL is installed successfully, as shown in the following figure:

How to download and install mysql? mysql download and installation details tutorial

6. The download address of Navicat premium 12 and crack patch (installing navicat software is no different from installing other ordinary software.

The crack instructions are in the patch file, and Baidu is also available), which is:

Link:https://pan.baidu.com/s/1wfs9tIhbhNN4E5OIW8s6Jg Password: jcpf

7, end

Related articles:

MySQL installation and configuration

mysql installation and master-slave configuration

mysql8.0.13 installation and usage tutorial illustration

Recommended study:

01: mysql online reference manual: http://www.php.cn/course/37.html

02: mysql video tutorial: http://www.php.cn/course/list/51.html

The above is the detailed content of How to download and install mysql? mysql download and installation details tutorial. 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
How do you alter a table in MySQL using the ALTER TABLE statement?How do you alter a table in MySQL using the ALTER TABLE statement?Mar 19, 2025 pm 03:51 PM

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

How do I configure SSL/TLS encryption for MySQL connections?How do I configure SSL/TLS encryption for MySQL connections?Mar 18, 2025 pm 12:01 PM

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

How do you handle large datasets in MySQL?How do you handle large datasets in MySQL?Mar 21, 2025 pm 12:15 PM

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)?Mar 21, 2025 pm 06:28 PM

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

How do you drop a table in MySQL using the DROP TABLE statement?How do you drop a table in MySQL using the DROP TABLE statement?Mar 19, 2025 pm 03:52 PM

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

How do you represent relationships using foreign keys?How do you represent relationships using foreign keys?Mar 19, 2025 pm 03:48 PM

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

How do you create indexes on JSON columns?How do you create indexes on JSON columns?Mar 21, 2025 pm 12:13 PM

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?How do I secure MySQL against common vulnerabilities (SQL injection, brute-force attacks)?Mar 18, 2025 pm 12:00 PM

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

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

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.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use