


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:
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/
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:
Then add the path of the bin directory of the MySQL file you decompressed to the path variable,
As shown below:
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:
(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:
The official document is as follows (can be skipped):
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:
(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:
(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:
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:
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!

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

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]

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

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

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.

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

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.

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


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

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
Chinese version, very easy to use
