mysql 5.7.23 winx64 decompression version installation tutorial

mysql 5.7.23 winx64 decompression version installation tutorial

Detailed installation tutorial of mysql-5.7.23-winx64 decompression version for your reference. The specific contents are as follows

1. Click here to download MySQL 5.7

2. Unzip the installation package: D:\workSofte\MySql\mysql-5.7.23-winx64

3. Configure the bin directory behind the environment variable path

  • Create a new MYSQL_HOME variable and set the value to: D:\workSofte\MySql\mysql-5.7.23-winx64
  • Edit the path system variable and add %MYSQL_HOME%\bin to the path variable. Configure the path environment variable. You can also configure the bin directory under the MySQL installation directory to the path variable directly instead of creating a new MYSQL_HOME variable. Path: %MYSQL_HOME%\bin

4. Prepare the my.ini file. You can first create a new my.txt file, and then rename the file suffix to .ini. The previous version may have a my-default.ini file after decompression, but the 5.7.23 version does not, so you have to create the file manually. After editing the my.ini file, put the my.ini file in the D:\workSofte\MySql\mysql-5.7.23-winx64 directory. The contents of the file are as follows:

[mysqld]
port = 3306
basedir=D:\workSofte\MySql\mysql-5.7.23-winx64
datadir=D:\workSofte\MySql\mysql-5.7.23-winx64\data 
max_connections=200
character-set-server=utf8
default-storage-engine=INNODB
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
[mysql]
default-character-set=utf8
#The function is to skip the login verification#skip-grant-tables 

1. Open the cmd command window as an administrator and switch the directory to the bin directory of the MySQL installation directory:
cd /d D:\workSofte\MySql\mysql-5.7.23-winx64\bin

2. Execute the following statement to install MySQL (after executing the command, it will prompt: Service successfully installed. Indicates successful installation):

mysqld -install

Or (mysqld install MySQL –defaults-file="D:\workSofte\MySql\mysql-5.7.23-winx64\my.ini" // You can use mysqld remove to delete)

3. Execute the following statement to initialize MySQL (after executing the command, a data directory will be generated under the MySQL installation directory and a root user will be created):

mysqld --initialize-insecure --user=mysql

Note: If you do not perform this step, the MySQL service will fail to start when you start it. The service does not report any errors.

4. Execute the following command to start the mysql service:

net start mysql

5. After starting MySQL, the root user's password is empty. Set the password with the following command (when you need to enter the old password, just press Enter because the old password is empty):

mysqladmin -u root -p password new password Enter password: old password

Wonderful topic sharing:

MySQL different versions installation tutorial

MySQL 5.7 installation tutorials for various versions

MySQL 5.6 installation tutorials for various versions

mysql8.0 installation tutorials for various versions

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:
  • Tutorial on installing mysql5.7.23 on Ubuntu 18.04
  • Ubuntu 18.04 installs mysql 5.7.23
  • The latest MySQL 5.7.23 installation and configuration graphic tutorial
  • MySQL 5.7.23 version installation tutorial and configuration method
  • MySQL 5.7.23 decompression version installation tutorial with pictures and text
  • Pitfalls and solutions for upgrading MySQL 5.7.23 in CentOS 7
  • MySQL 5.7.23 winx64 installation and configuration method graphic tutorial under win10
  • MySQL 5.7.23 installation and configuration graphic tutorial
  • MySQL 5.7.23 installation and configuration method graphic tutorial
  • Binary installation of mysql 5.7.23 under CentOS7

<<:  Example of nginx ip blacklist dynamic ban

>>:  Summary of the minesweeping project implemented in JS

Recommend

Use Rem layout to achieve adaptive

I have written an article about mobile adaptation...

MySQL Installer 8.0.21 installation tutorial with pictures and text

1. Reason I just needed to reinstall MySQL on a n...

What are the image file formats and how to choose

1. Which three formats? They are: gif, jpg, and pn...

Detailed explanation of Linux netfilter/iptables knowledge points

Netfilter Netfilter is a packet processing module...

How to understand JS function anti-shake and function throttling

Table of contents Overview 1. Function debounce 2...

Analysis of Facebook's Information Architecture

<br />Original: http://uicom.net/blog/?p=762...

How to install and connect Navicat in MySQL 8.0.20 and what to pay attention to

Things to note 1. First, you need to create a my....

Detailed explanation of the difference between CSS link and @import

How to add css in html? There are three ways to s...

Detailed explanation of MySql automatic truncation example

Detailed explanation of MySql automatic truncatio...

Web page printing thin line table + page printing ultimate strategy

When I was printing for a client recently, he aske...

MySQL 5.6.36 Windows x64 version installation tutorial detailed

1. Target environment Windows 7 64-bit 2. Materia...

mysql 5.7.20 win64 installation and configuration method

mysql-5.7.20-winx64.zipInstallation package witho...