search
HomeDatabaseMysql Tutorialmysql 5.7.15 installation and configuration method graphic tutorial_MySQL

As a leader among relational databases, MySQL database is not only highly sought after by the market, but also favored by programmers due to its small size, fast speed and low cost. Next, let me tell you about the download and installation of MySQL:

1. Download of MySQL

Step 1:Enter https://www.mysql.com/ in the address bar of the browser to enter the MySQL official website, as shown in the figure below:


Second step:Single-machine Download, that is, enter the following page: As shown in the figure below:


Step 3:Here are some versions of MySQL:

1. MySQL Community Server community version, open source and free, but does not provide official technical support.

2. MySQL Enterprise Edition requires payment and can be tried for 30 days.

3. MySQL Cluster cluster version, open source and free. Several MySQL Servers can be encapsulated into one Server.

4. MySQL Cluster CGE Advanced Cluster Edition, paid.

5. MySQL Workbench (GUITOOL) is an ER/database modeling tool specially designed for MySQL. It is the successor of the famous database design tool DBDesigner4. MySQL Workbench is divided into two versions, namely the community version (MySQL Workbench OSS) and the commercial version (MySQL Workbench SE).

MySQL Community Server is open source and free, and this is the version of MySQL we usually use. It is subdivided into multiple versions according to different operating system platforms.

MySQL Community Server is free and open source, so on this page we stand-alone Community. After the stand-alone is completed, it will be displayed as follows:

Step 4: Choose whether you want to download the installation version or the decompressed version. (You can check the difference between the installation version and the decompressed version on Baidu.) Let’s take the installation version as an example:


After downloading in a single machine, you will enter the following page, as shown in the picture below:

After stand-alone, you can enter the following page and download the stand-alone Download.

The download of mysql is now completed. After the download is successful, the display is as follows:

I would like to remind you here: the windows version of mysql32-bit is also suitable for 64-bit.

2. MySQL installation (Here I take the installation of mysql5.5 as an example, the installation process is similar)

(1) Double-click the file to be installed, and the following page will appear:


(2) Standalone next, the following page appears:

(3) Here we choose custom installation and stand-alone next, the following appears:

What needs to be noted here is: when setting the storage location of the MySQL server and MySQL data files, it is recommended to store them in a mysql directory file.

The stand-alone next appears as follows:

The single machine finish appears as follows:


Single machine next, the following appears:


Continue to stand-alone next, and the following will appear:


Continue to stand-alone next, the following appears:


Continue to next and the following will appear:

Continue to next and the following will appear:


Continue to next and the following will appear:

Continue to next and the following will appear:

Continue to next, and the following will appear: You need to wait for a while. After all the check boxes are automatically checked, it means that mysql is successfully installed at this time.


The installation of mysql has progressed to this point. All installations have been completed. Next, verify whether mysql is installed successfully.

Enter the command under cmd: mysql -uroot -p password (the password you set at the time). If the following is displayed, it means that mysql is installed successfully.


Here I will introduce how to start mysql and shut down the mysql service:

In cmd, enter the following command to close the mysql service: net stop mysql. The following appears:


In cmd, enter the following command to close the mysql service: net start mysql. The following appears:

The above is the installation and configuration method of mysql 5.7.15. I hope it will be helpful to everyone's learning.

Wonderful topic sharing: installation tutorials for different versions of mysql

mysql5.7 version installation tutorial

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

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool