MySQL free installation version (zip) installation and configuration detailed tutorial

MySQL free installation version (zip) installation and configuration detailed tutorial

This article shares the installation and configuration tutorial of MySQL free installation version (zip) for your reference. The specific contents are as follows

1. Download from MySQL official website

2. Download Unzip to D:\mysql-5.7.22-winx64

3. Create a new my.ini in the D:\mysql-5.7.22-winx64 directory and write the following code: (Note that you should change your own in D:\mysql-5.7.22-winx64)

[mysqld]
# Set the installation directory of mysql to basedir=D:\mysql-5.7.22-winx64
# Set the storage directory for mysql database data, which must be data
datadir=D:\mysql-5.7.22-winx64\data
#mysql port port=3306
# Character set character_set_server=utf8
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

4. Open the DOS command line (win+R, enter cmd), enter D:\mysql-5.7.22-winx64\bin, and execute the command mysqld -install mysql

5. Initialization, mysqld --initialize-insecure , after initialization, data will appear in the D:\mysql-5.7.22-winx64 directory

6. Start the service, net start mysql

7. Log in to MySQL, the default password is empty, just press Enter

8. Change password

Finish! ! !

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.22 binary package installation and installation-free version Windows configuration method
  • Ubuntu16.04 installation mysql5.7.22 graphic tutorial
  • How to install MySQL server community version MySQL 5.7.22 winx64 in win10
  • Installation process of MySQL5.7.22 on Mac
  • mysql5.7.22 download process diagram
  • MySQL 5.6.17 Green Edition (Free Installation) Installation and Configuration Tutorial
  • MySQL 5.7 installation-free configuration graphic tutorial
  • MySQL 5.6 free installation version environment configuration graphic tutorial
  • The actual configuration method of MySQL free installation version
  • MySQL 5.7.18 free installation version configuration tutorial

<<:  Example method of viewing IP in Linux

>>:  Detailed explanation of the getBoundingClientRect() method in js

Recommend

How to solve the problem that MySQL cannot start because it cannot create PID

Problem Description The MySQL startup error messa...

Detailed tutorial for installing mysql5.7.21 under Windows

This article shares the installation tutorial of ...

VMware virtualization kvm installation and deployment tutorial summary

Virtualization 1. Environment Centos7.3 Disable s...

WeChat applet realizes simple tab switching effect

This article shares the specific code for WeChat ...

Nginx local directory mapping implementation code example

Sometimes you need to access some static resource...

Summary of bootstrap learning experience-css style design sharing

Due to the needs of the project, I plan to study ...

Detailed explanation of MySQL backup and recovery practice of mysqlbackup

1. Introduction to mysqlbackup mysqlbackup is the...

Solution to input cursor misalignment in Chrome, Firefox, and IE

Detailed explanation of the misplacement of the in...

SQL insert into statement writing method explanation

Method 1: INSERT INTO t1(field1,field2) VALUE(v00...

Define your own ajax function using JavaScript

Since the network requests initiated by native js...

Vue ElementUI Form form validation

Form validation is one of the most commonly used ...

How to play local media (video and audio) files using HTML and JavaScript

First of all, for security reasons, JavaScript ca...

A detailed introduction to JavaScript execution mechanism

Table of contents 1. The concept of process and t...