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

Detailed usage of kubernetes object Volume

Overview Volume is the abstraction and virtualiza...

Summary of Kubernetes's application areas

Kubernetes is the leader in the container orchest...

MySQL 8.0.18 installation and configuration method graphic tutorial (linux)

This article records the installation and configu...

Sublime / vscode quick implementation of generating HTML code

Table of contents Basic HTML structure Generate s...

Analysis of the Principle and Method of Implementing Linux Disk Partition

remember: IDE disk: the first disk is hda, the se...

The core process of nodejs processing tcp connection

A few days ago, I exchanged some knowledge about ...

Full analysis of MySQL INT type

Preface: Integer is one of the most commonly used...

Detailed explanation of the available environment variables in Docker Compose

Several parts of Compose deal with environment va...

How to fix the four sides of the table to scroll up, down, left and right

question: When I was doing project statistics rec...

Two ways to exit bash in docker container under Linux

If you want to exit bash, there are two options: ...

Detailed tutorial on installing Python 3.6.6 from scratch on CentOS 7.5

ps: The environment is as the title Install possi...

Native js realizes the drag and drop of the nine-square grid

Use native JS to write a nine-square grid to achi...

8 powerful techniques for HTML web page creation

<br />Although there are many web page creat...