The installation tutorial of mysql 5.7.19 winx64 is recorded as follows and shared with everyone step1 Official download address: https://dev.mysql.com/downloads/mysql/ Select Manual Download Version Unzip to the path you specify The my.ini and data folders in the above picture are not in the compressed package, so you need to add them later. my.ini is as follows, just copy~ [client] port=3306 default-character-set=utf8 [mysqld] # Set to your own MYSQL installation directory basedir=D:\Mysql\mysql-5.7.19-winx64 # Set to MYSQL data directory datadir=D:\Mysql\mysql-5.7.19-winx64\data port=3306 character_set_server=utf8 sql_mode=NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER # Enable query cache explicit_defaults_for_timestamp=true skip-grant-tables Then create a data folder in the directory Step 2 Set environment variables <br /> Computer->Properties->Advanced System Properties->Environment Variables Create a new path in the system variables (%MYSQL installation directory%\bin) Step 3 Enter the bin folder under the MySQL installation directory and open cmd as an administrator here Execute mysqld –initialize-insecure This command is to ensure that there are normal mysql folders and related files in the data directory. If error: Found option without preceding group in config file: D:\Mysql\mysql-5.7.19-winx64\my.ini at line: 1 appears The solution is to save my.ini in ANSI format Then execute the following commands in sequence (administrator mode): mysqld install net start mysql If you need to change the password, enter: set password for root@localhost = password('123456'); Step 4 Finished~ 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:
|
<<: Example of how to identify the user using a linux Bash script
>>: Three methods to modify the hostname of Centos7
Table of contents 1. Map accepts any type of key ...
Recorded the installation tutorial of mysql 5.7.1...
Use navicat to test and learn: First use set auto...
MySQL master-slave setup MySQL master-slave repli...
Table of contents 1. Count data is lost Solution ...
vue-element-admin import component encapsulation ...
Table of contents What are Refs 1. String type Re...
1. Single row overflow 1. If a single line overfl...
Table of contents 1. Detailed syntax of entires()...
Q: I don’t know what is the difference between xml...
This article describes the commonly used MySQL fu...
Summary: In order to make your web page look more...
Table of contents Preface Install the graphics dr...
This article shares with you the graphic tutorial...
Table of contents What is an index The difference...