1 Download The address is: https://dev.mysql.com/downloads/mysql/ 2 Unzip to a directory 3 Configuration Create a new txt document, save it as my.ini, and put it in the MySQL directory [mysql] # Set the default character set of the mysql client to default-character-set=utf8 [mysqld] #Set port 3306 port = 3306 # Set the installation directory of mysql basedir=D:\Program Files\mysql-5.7.21-winx64 # Set the storage directory of mysql database data datadir=D:\Program Files\mysql-5.7.21-winx64\data # Maximum number of connections allowed max_connections=200 # The default character set used by the server is the 8-bit latin1 character set character-set-server=utf8 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB Note: The paths of basedir and datadir are the paths where your mysql is stored 4 Add the bin directory to the path environment variable 5 Install MySQL Service Execute mysqld install If "Missing xxx.dll, please install the Microsoft runtime 6 Generate a data directory (MySQL 5.7.16 and later does not provide a data directory by default) First enter the bin directory Run mysqld --initialize-insecure --user=mysql There will be no prompt after running Check whether the contents of the data directory are correct 7. Run MySQL Service The command to shut down the MySQL service is net stop mysql 8 Log in to MySQL Summarize The above is the detailed installation of mysql-5.7.21-winx64 free installation version--Windows tutorial introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Tutorial on importing and exporting Docker containers
>>: Implementation of importing and exporting vue-element-admin projects
There are many import methods on the Internet, an...
WeChat applet uniapp realizes the left swipe to d...
In the past few years of my career, I have writte...
Table of contents 1. Static implementation method...
Because the Raspberry Pi is based on ARM architec...
Insert data into mysql database. Previously commo...
Composition API implements logic reuse steps: Ext...
conda update conda pip install tf-nightly-gpu-2.0...
There is a business that queries the 5 most recen...
After creating a container locally, you can creat...
Table of contents 1. Function debounce 1. What is...
Problem Peeping In the server, assuming that the ...
Table of contents Common payment methods in proje...
1. Page requirements 1) Use standard headers and ...
The default database of CentOS7 is mariadb, but m...