Mysql-5.7.12 decompressed version installation steps tutorial
Off-topic: I haven’t installed mysql for a long time. I bought a new computer today and reinstalled it. It’s really tiring, so I wrote a tutorial to avoid forgetting it in the future.
Enter the formal tutorial below:
Step 1: Download the latest MySQL file and unzip it :
Download the latest version of MySQL–mysql-5.7.12 download
Unzip the downloaded file to your favorite location, for example, my location is D:\MySQL\mysql-5.7.12-winx64
Step 2: Configure environment variables
Not much to say here, just configure the bin directory under the path.
Step 3: Add configuration file
Directly copy the my-default.ini file under the decompression path, rename it to my.ini and edit it The content of this file is as follows:
[mysqld]basedir=D:\MySQL\mysql-5.7.12-winx64\datadir=D:\MySQL\mysql-5.7.12-winx64\data\port=3306
There are two main issues that need to be noted here:
1. basedir is the decompression of your mysql file above path.
2. Create a new empty folder named data under the path, which is datadir.
Step 4: Initialize the database and configure the service
Before doing this step, you must pay attention to two issues! ! ! Remember! ! !
First: Open CMD as an administrator;
Second: Use the cd command to enter the decompression path of your MySQL file!
Then executemysqld --initialize --user=mysql --console
After successful execution, after the printed text The last part is the initial password of the database. Remember to copy it, select it with the mouse, press Enter and find a place to ctrl+v.
After completing the above, open CMD as an administrator and execute mysqld --install MySQL
–>Add to System servicenet start mysql
–>Start mysql service
Step 5: Modify mysql Initial password
1. Open CMD and execute: mysql -u root -p
2. Enter what you just entered The initial password for the saved database.
3. Execute set password = password(‘***NewPassword***‘);
Just enter your own new password in the position of NewPassword.
This is all over, let’s start using it.
Recommended related articles:
Detailed steps to install MySQL 5.7.12 under CentOS 6.5 (pictures and text)
mysql 5.7.12 win64 Manual installation tutorial steps (pictures and text)
The above is the detailed content of Mysql-5.7.12 decompressed version installation steps tutorial. For more information, please follow other related articles on the PHP Chinese website!

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Use the pip command to easily install OpenCV tutorial, which requires specific code examples. OpenCV (OpenSource Computer Vision Library) is an open source computer vision library. It contains a large number of computer vision algorithms and functions, which can help developers quickly build image and video processing related applications. Before using OpenCV, we need to install it first. Fortunately, Python provides a powerful tool pip to manage third-party libraries

PyCharm installation tutorial: Easily learn how to install Selenium, specific code examples are needed. As Python developers, we often need to use various third-party libraries and tools to complete project development. Among them, Selenium is a very commonly used library for automated testing and UI testing of web applications. As an integrated development environment (IDE) for Python development, PyCharm provides us with a convenient and fast way to develop Python code, so how

Quick Start with PyCharm Community Edition: Detailed Installation Tutorial Full Analysis Introduction: PyCharm is a powerful Python integrated development environment (IDE) that provides a comprehensive set of tools to help developers write Python code more efficiently. This article will introduce in detail how to install PyCharm Community Edition and provide specific code examples to help beginners get started quickly. Step 1: Download and install PyCharm Community Edition To use PyCharm, you first need to download it from its official website

Essential for Python novices: Simple and easy-to-understand pip installation tutorial Introduction: In Python programming, installing external libraries is a very important step. As the officially recommended package management tool for Python, pip is easy to understand and powerful, making it one of the essential skills for Python novices. This article will introduce you to the pip installation method and specific code examples to help you get started easily. 1. Installation of pip Before you start using pip, you need to install it first. Here is how to install pip: First,

LINUX is an open source operating system known for its stability, security and flexibility. Ubuntu is one of the most popular distributions in the LINUX system. This article will introduce you to the installation process of Ubuntu and provide details. Instructions on how to install Ubuntu20.04 version. Ubuntu installation tutorial preparation Before starting to install Ubuntu, you need to prepare the following materials: 1. An idle computer 2. An Ubuntu installation CD or USB drive 3. Make sure the computer meets the minimum system requirements for Ubuntu Create installation media 1. Download Image file of Ubuntu20.04 and save it on your computer. 2. If you are using a CD, leave blank

Friends, do you know how to install NeXus desktop beautification? Today I will explain the installation tutorial of NeXus desktop beautification. If you are interested, come and take a look with me. I hope it can help you. 1. Download the latest version of the Nexus desktop beautification plug-in software package from this site (as shown in the picture). 2. Unzip the Nexus desktop beautification plug-in software and run the file (as shown in the picture). 3. Double-click to open and enter the Nexus desktop beautification plug-in software interface. Please read the installation license agreement below carefully to see if you accept all the terms of the above license agreement. Click I agree and click Next (as shown in the picture). 4. Select the destination location. The software will be installed in the folder listed below. To select a different location and create a new path, click Next

Recently, many friends have asked me how to install solidworks2016. Next, let us learn the installation tutorial of solidworks2016. I hope it can help everyone. 1. First, exit the anti-virus software and make sure to disconnect from the network (as shown in the picture). 2. Then right-click the installation package and select to extract to the SW2016 installation package (as shown in the picture). 3. Double-click to enter the decompressed folder. Right-click setup.exe and click Run as administrator (as shown in the picture). 4. Then click OK (as shown in the picture). 5. Then check [Single-machine installation (on this computer)] and click [Next] (as shown in the picture). 6. Then enter the serial number and click [Next] (as shown in the picture). 7.

Pygame installation tutorial: Quickly master the basics of game development, specific code examples are required Introduction: In the field of game development, Pygame is a very popular Python library. It provides developers with rich features and easy-to-use interfaces, allowing them to quickly develop high-quality games. This article will introduce you in detail how to install Pygame and provide some specific code examples to help you quickly master the basics of game development. 1. Installation of Pygame Install Python and start installing Pyga
