MySQL 5.7.17 Compressed Version Installation Notes

MySQL 5.7.17 Compressed Version Installation Notes

This article shares the installation steps of MySQL 5.7.17 compressed version for your reference. The specific contents are as follows

1. Download the compressed package and decompress it to the corresponding directory

2. Add the MySQL bin directory path to the Path environment variable

3. Modify the configuration file my-default.ini and change

\# basedir = .....
\# datadir = .....

Modified to:

basedir = G:\Program\Program Files\MySQL
datadir = G:\Program\Program Files\MySQL\data

4. Run cmd as an administrator, cd to the bin directory of MySQL, enter mysqld --initialize-insecure --user=mysql, and generate a root account without a password

5. Enter mysqld -install again, and it will show successful installation

6. Start the service: Enter net start mysql, and it will show that the service has been successfully started.

7. Login: Enter mysql -u root -p, and press Enter when the password is displayed.

8. Change password: At this time, enter set password = password('new password'); (don't forget the semicolon) to change the password

Wonderful topic sharing: Installation tutorials for different versions of MySQL Installation tutorials for MySQL 5.7 versions Installation tutorials for MySQL 5.6 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.17 on windows10
  • MySQL 5.7.17 installation and configuration method graphic tutorial (CentOS7)
  • Mysql 5.7.17 winx64 free installation version, installation and configuration graphic tutorial under win10 environment
  • MySQL 5.7.17 installation and configuration method graphic tutorial (windows)
  • MySQL 5.7.17 installation and configuration tutorial under Linux (Ubuntu)
  • Simple notes on installing MySQL 5.7.17 under Windows 10
  • MySQL 5.7.17 winx64 installation and configuration method graphic tutorial
  • MySQL 5.7.17 64bit installation and configuration method graphic tutorial
  • MySQL 5.7.17 winx64 installation and configuration graphic tutorial
  • Detailed tutorial on installation and configuration of MySql 5.7.17 winx64

<<:  Detailed explanation of how to cleanly uninstall Docker

>>:  An example of refactoring a jigsaw puzzle game using vue3

Recommend

Summary of Problems in Installation and Usage of MySQL 5.7.19 Winx64 ZIP Archive

Today I learned to install MySQL, and some proble...

Sharing experience on MySQL slave maintenance

Preface: MySQL master-slave architecture should b...

MySQL 5.7.24 installation and configuration graphic tutorial

This article shares the installation and configur...

Detailed explanation of MySQL date string timestamp conversion

The conversion between time, string and timestamp...

SQL interview question: Find the sum of time differences (ignore duplicates)

When I was interviewing for a BI position at a ce...

Introduction to Computed Properties in Vue

Table of contents 1. What is a calculated propert...

How to set the default value of a MySQL field

Table of contents Preface: 1. Default value relat...

Super detailed teaching on how to upgrade the version of MySQL

Table of contents 1. Introduction 2. Back up the ...

Make your text dance with the marquee attribute in HTML

Syntax: <marquee> …</marquee> Using th...

22 Vue optimization tips (project practical)

Table of contents Code Optimization Using key in ...

Vue3.0 uses the vue-grid-layout plug-in to implement drag layout

Table of contents 1. Plugins 2. Interlude 3. Impl...