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:
|
<<: Detailed explanation of how to cleanly uninstall Docker
>>: An example of refactoring a jigsaw puzzle game using vue3
Today I learned to install MySQL, and some proble...
Preface: MySQL master-slave architecture should b...
This article shares the installation and configur...
The conversion between time, string and timestamp...
Table of contents 1. Prototype chain inheritance ...
When I was interviewing for a BI position at a ce...
Table of contents 1. What is a calculated propert...
Table of contents Preface: 1. Default value relat...
The basics of MySQL knowledge points for the seco...
Table of contents 1. Introduction 2. Back up the ...
Syntax: <marquee> …</marquee> Using th...
This article uses examples to illustrate the diff...
Table of contents Code Optimization Using key in ...
1. Install MySQL (1) Unzip the downloaded MySQL c...
Table of contents 1. Plugins 2. Interlude 3. Impl...