Home Database Mysql Tutorial Detailed explanation of mysql5.7.11 winx64.zip installation and configuration method (picture)

Detailed explanation of mysql5.7.11 winx64.zip installation and configuration method (picture)

Mar 25, 2017 pm 01:48 PM

This article mainly shares with you the graphic tutorial of the mysql5.7.11 installation and configuration method, which has a certain reference value. Interested friends can refer to

Installation and ConfigurationMySql Databasesystem.

1. Download

1

http://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.11-winx64.zip

Copy after login

2. Unzip the zip package

1

D:\Program Files\mysql-5.7.11-winx64

Copy after login

3. Configure environment Variables

3.1 Add path ,

1

D:\Program Files\mysql-5.7.11-winx64\bin

Copy after login

3.2. Modify the mysql-default.ini configuration file,

original

1

2

3

4

5

# These are commonly set, remove the # and set as required.

# basedir = .....

# datadir = .....

# port = .....

# server_id = .....

Copy after login

is changed to

1

2

3

4

5

# These are commonly set, remove the # and set as required.

 basedir = D:\Program Files\mysql-5.7.11-winx64

 datadir = D:\Program Files\mysql-5.7.11-winx64\Data

 port = 3306

# server_id = .....

Copy after login

4. Enter the command prompt cmd as an administrator

Enter the bin directory of mysql,

1

2

3

4

5

6

7

8

9

10

11

Microsoft Windows [版本 6.3.9600]

(c) 2013 Microsoft Corporation。保留所有权利。

 

C:\Users\Administrator>cd D:

D:\

 

C:\Users\Administrator>cd D:\Program Files\mysql-5.7.11-winx64\bin

 

C:\Users\Administrator>d:

 

D:\Program Files\mysql-5.7.11-winx64\bin>

Copy after login

Execute the mysqld.exe --initialize command,

1

2

D:\Program Files\mysql-5.7.11-winx64\bin>mysqld.exe --initialize

D:\Program Files\mysql-5.7.11-winx64\bin>

Copy after login

created the data directory

5. Execute the mysqld -install command

1

2

D:\Program Files\mysql-5.7.11-winx64\bin>mysqld -install

Service successfully installed. //成功安装服务

Copy after login

6. Execute mysqld.exe -nt --skip-grant-tables

Note : The window is unresponsive

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

Microsoft Windows [版本 6.3.9600]

(c) 2013 Microsoft Corporation。保留所有权利。

 

C:\Users\Administrator>cd D:

D:\

 

C:\Users\Administrator>cd D:\Program Files\mysql-5.7.11-winx64\bin

 

C:\Users\Administrator>d:

 

D:\Program Files\mysql-5.7.11-winx64\bin>mysqld.exe --initialize

 

D:\Program Files\mysql-5.7.11-winx64\bin>mysqld -install

Service successfully installed. //服务安装成功

 

D:\Program Files\mysql-5.7.11-winx64\bin>mysqld.exe -nt --skip-grant-tables

Copy after login

7. Re-open the dos window, execute mysql -u root

to enter the mysql command line, and execute the command use mysql; update user set authtication_string=Password('123456') where user="root"; set password=Password('123456');

Press Ctrl+C to copy the code

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

Microsoft Windows [版本 6.3.9600]

(c) 2013 Microsoft Corporation。保留所有权利。

 

C:\Users\Administrator>mysqld.exe -nt --skip-grant-tables

 

C:\Users\Administrator>mysql -u root

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 3

Server version: 5.7.11 MySQL Community Server (GPL)

 

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

 

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

 

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 

mysql> use mysql

Database changed

mysql> update user set authtication_string=Password('123456') where user="root"

 -> set password=Password('123456')

 ->

Copy after login

Press Ctrl+C to copy the code

8. Terminate the mysqld process in the task manager and start the mysql service.

The installation is complete.

The above is the detailed content of Detailed explanation of mysql5.7.11 winx64.zip installation and configuration method (picture). For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
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

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 Article

Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Getting Started with Pygame: Comprehensive Installation and Configuration Tutorial Getting Started with Pygame: Comprehensive Installation and Configuration Tutorial Feb 19, 2024 pm 10:10 PM

Learn Pygame from scratch: complete installation and configuration tutorial, specific code examples required Introduction: Pygame is an open source game development library developed using the Python programming language. It provides a wealth of functions and tools, allowing developers to easily create a variety of type of game. This article will help you learn Pygame from scratch, and provide a complete installation and configuration tutorial, as well as specific code examples to get you started quickly. Part One: Installing Python and Pygame First, make sure you have

PyCharm Community Edition Installation Guide: Simple installation and setup even if you don't have any foundation PyCharm Community Edition Installation Guide: Simple installation and setup even if you don't have any foundation Jan 27, 2024 am 10:32 AM

PyCharm Community Edition is a very powerful and widely used Python integrated development environment (IDE). It provides a wealth of functions and tools to help developers improve efficiency. This article will provide you with a detailed installation tutorial for PyCharm Community Edition. Whether you have programming experience or not, you can easily install and configure PyCharm. 1. Download PyCharm Community Edition First, we need to download the installation package of PyCharm Community Edition. You can visit JetBrains official website (h

Learn the basics of Python web development easily: a comprehensive guide to Flask installation and configuration Learn the basics of Python web development easily: a comprehensive guide to Flask installation and configuration Feb 24, 2024 pm 06:33 PM

Flask installation and configuration guide: Easily master the cornerstone of Python Web development Introduction: With the rapid development of Python, more and more developers are paying attention to Python Web development. In Python Web development, Flask, as a lightweight Web framework, is loved by the majority of developers. This article will introduce you to the installation and configuration process of Flask, and provide specific code examples to help you easily master the cornerstone of Python Web development. 1. Environment

Simple and practical: Ubuntu VNC installation and setup tutorial Simple and practical: Ubuntu VNC installation and setup tutorial Dec 29, 2023 am 11:20 AM

Get started easily: UbuntuVNC installation and configuration guide Introduction: Ubuntu is a powerful and popular operating system, and VNC is a remote desktop protocol that allows users to control remote computers over the network. This article will take you through the installation and configuration process of VNC in Ubuntu system in detail, including specific code examples. Step 1: Install VNCServer Open Terminal and enter the following command to install VNCServer: sudoapt-g

Comprehensive installation and configuration guide for the Java Virtual Machine Comprehensive installation and configuration guide for the Java Virtual Machine Jan 05, 2024 pm 02:03 PM

Starting from scratch: Detailed explanation of Java virtual machine installation and configuration [Introduction] Java is a cross-platform programming language, and its execution platform depends on the Java Virtual Machine (JavaVirtualMachine, JVM). By installing and configuring the Java virtual machine, you can run Java programs on different operating systems. This article will take you from scratch, detail how to install and configure a Java virtual machine, and provide some commonly used Java code examples. Let’s start learning! [Part 1: J

Golang Beginner's Guide: Complete Guide to Installation and Configuration under Mac System Golang Beginner's Guide: Complete Guide to Installation and Configuration under Mac System Feb 20, 2024 pm 06:36 PM

Golang Beginner's Guide: Complete Guide to Installation and Configuration on Mac System Go language (also known as Golang) is an open source programming language developed by Google. It has the characteristics of fast compilation, efficient execution and lightweight, and is suitable for building high-performance s application. This article will provide a detailed installation and configuration guide for Golang novices on Mac systems to help them easily get started with this emerging programming language. 1. Install Golang Step 1: Download the Golang installation package. First, open the official website

Step by step guide to install and configure golang on Ubuntu Step by step guide to install and configure golang on Ubuntu Jan 20, 2024 am 09:40 AM

Teach you step by step how to install and configure golang on Ubuntu. Specific code examples are required. In the field of computer programming, Golang is a programming language that has attracted much attention in recent years. It is simple, efficient and has excellent concurrency performance, so it is favored by more and more developers. In this article, we will teach you step by step how to install and configure Golang on the Ubuntu operating system, and provide some practical code examples for you to practice. The first step is to install Golang. In order to install Golan on Ubuntu

Redis installation and setup operation guide on CentOS7 Redis installation and setup operation guide on CentOS7 Jan 08, 2024 am 11:41 AM

Installation settings Download the tar package: wget-c http://download.redis.io/releases/redis-3.2.4.tar.gz Unzip and install tarzxvfredis-3.2.4.tar.gzmkdir/usr/local/redismakePREFIX=/usr/ local/redisinstall sets the environment variable vim/etc/profileexportREDIS_HOME=/usr/local/redisexportPATH=$PATH:$REDIS_HOME/bin:wqsource/e

See all articles