MySQL 5.7.17 winx64 decompression version installation and configuration method graphic tutorial

MySQL 5.7.17 winx64 decompression version installation and configuration method graphic tutorial

This article shares the installation and configuration method of MySQL 5.7.17 winx64 decompression version for your reference. The specific content is as follows

1. Download

Download

2. Configuration

1. Unzip the downloaded MySQL installation package, copy the my-default.ini file in the unzipped directory to the same directory, rename it to my.ini file, and then modify the file content as follows:

2. Configure the environment variables and add the directory D:\mysql\mysql-5.7.17-winx64\bin to Path.

3. Installation

1. Open the DOS command line in administrator mode and enter the bin directory of MySQL.

2. Initialize the data and execute the command: mysqld --initialize-insecure (there is a space in front and no space in the back)

Then a data folder will be generated, and the correct size is 120M.

3. Install mysql service: mysqld install

4. Start mysql in two ways:

Method 1: net start mysql

Method 2: Start directly in the service list

4. Verify that MySQL is successfully installed

Restart the DOS command line and enter the command: mysql –uroot –p

If this interface appears, it means that MySQL is installed successfully.

appendix:

1. Stop the service through the command line.

2. Removal of Services

3. Common mysql commands:

1).show databases; #Show all databases

2).create database test; #Create a database named test.

3).use test; means using the test database.

4).create table student(id int primary key auto_increment, sname varchar(20), birthday date);#Create student, primary key automatically increases.

5).insert into student(sname, birthday) values('zhangsan', '1989-12-23');#Insert data

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • MySQL 5.7.17 installation and configuration method graphic tutorial
  • mysql5.7.17.msi installation graphic tutorial
  • Tutorial on installing mysql5.7.17 on windows10
  • MySQL 5.7.17 installation and configuration graphic tutorial
  • MySQL 5.7.17 installation and configuration method graphic tutorial (windows)
  • MySQL 5.7.17 installation and configuration method graphic tutorial (CentOS7)
  • MySQL 5.7.17 winx64 installation and configuration method graphic tutorial
  • MySQL 5.7.17 installation and configuration tutorial for Mac
  • MySQL 5.7.17 winx64 installation and configuration graphic tutorial
  • MySQL 5.7.17 installation and configuration method graphic tutorial under win7
  • MySQL 5.7.17 installation and configuration method graphic tutorial under Windows 10
  • Mysql5.7.17 winx64.zip decompression version installation and configuration graphic tutorial

<<:  How to create a Docker repository using Nexus

>>:  Next.js Getting Started Tutorial

Recommend

How to use the Linux md5sum command

01. Command Overview md5sum - Calculate and verif...

9 super practical CSS tips to help designers and developers

A web designer's head must be filled with a lo...

Vue custom component implements two-way binding

Scenario: The interaction methods between parent ...

Detailed explanation of the usage of 5 different values ​​of CSS position

The position property The position property speci...

js to upload pictures to the server

This article example shares the specific code of ...

Summary of commonly used operators and functions in MySQL

Let’s build the data table first. use test; creat...

How to install a virtual machine with Windows services on Mac

1. Download the virtual machine Official download...

Various methods to implement the prompt function of text box in html

You can use the attribute in HTML5 <input="...

A brief discussion on the pitfalls of react useEffect closure

Problem code Look at a closure problem code cause...

Analyzing the four transaction isolation levels in MySQL through examples

Preface In database operations, in order to effec...

GZIP compression Tomcat and improve web performance process diagram

1. Introduction I recently worked on a project an...

Centos7.3 How to install and deploy Nginx and configure https

Installation Environment 1. gcc installation To i...