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

In-depth understanding of HTML form input monitoring

Today I saw a blog post about input events, and o...

Detailed explanation of the steps of using ElementUI in actual projects

Table of contents 1. Table self-sorting 2. Paging...

Linux dual network card binding script method example

In Linux operation and configuration work, dual n...

Detailed explanation of the problem of CSS class names

The following CSS class names starting with a num...

How to remove the underline of a hyperlink using three simple examples

To remove the underline of a hyperlink, you need t...

Vue+webrtc (Tencent Cloud) practice of implementing live broadcast function

Table of contents 1. Live broadcast effect 2. Ste...

MySQL 5.7.16 ZIP package installation and configuration tutorial

This article shares the installation and configur...

Javascript operation mechanism Event Loop

Table of contents 1. Four concepts 1. JavaScript ...

Analyzing the node event loop and message queue

Table of contents What is async? Why do we need a...

Analysis of Linux boot system methods

This article describes how to boot the Linux syst...

Linux lossless expansion method

Overview The cloud platform customer's server...

Solution to the error reported by Mysql systemctl start mysqld

Error message: Job for mysqld.service failed beca...

Example of CSS3 to achieve div sliding in and out from bottom to top

1. First, you need to use the target selector of ...

Axios project with 77.9K GitHub repository: What are the things worth learning?

Table of contents Preface 1. Introduction to Axio...

How to monitor Tomcat using LambdaProbe

Introduction: Lambda Probe (formerly known as Tom...