1. After downloading, unzip it to the directory you want to installDownload address: https://dev.mysql.com/downloads/mysql/ 2. Add the configuration file my.ini in the installation directory[mysqld] # Set port 3306 port=3306 # Set the installation directory of mysql basedir=D:\DevTool\MySQL-8.0.19 # Set the storage directory of mysql database data datadir=D:\DevTool\MySQL-8.0.19\data # Maximum number of connections allowed max_connections=200 # The number of connection failures allowed. This is to prevent someone from trying to attack the database system from this host max_connect_errors = 10 # The default character set used by the server is UTF8 character-set-server=utf8mb4 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB # By default, the "mysql_native_password" plug-in is used for authentication. default_authentication_plugin=mysql_native_password [mysql] # Set the default character set of the mysql client to default-character-set=utf8mb4 [client] # Set the default port and character set used by the mysql client to connect to the server port=3306 default-character-set=utf8mb4 You don't need to create a folder for datadir, it will be created automatically when the database is initialized. 3. Configure environment variables and add the mysql bin directory to the path4. Initialize the database Open a command window as administrator and execute The red box contains the root user and password, which will be used when logging in later. 5. Install the database
6. Change the root password
7. Create a remote user and grant permissions
8. Delete the database
Summarize The above is a detailed tutorial on how to install the zip version of MySQL8.0.19 on win10. I hope it will be helpful to everyone. Thank you very much for your support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Introduction and usage summary of React-Native screenshot component react-native-view-shot
>>: Graphic tutorial on installing Ubuntu 18.04 on VMware 15 virtual machine
Table of contents The first method: When the MySQ...
Table of contents 1. Find the mirror 2. Download ...
1. Description Earlier we talked about the instal...
This article uses examples to explain the princip...
When developing a website, you often need to use ...
<br />In order to clearly distinguish the ta...
Table of contents 1. Introduction to Compose 2. C...
When using nginx as a reverse proxy, you can simp...
If you want to wrap the text in the textarea input...
First, a common question is, what is the relation...
In the forum, netizens often ask, can I read the ...
Distinguish the differences between the filter, f...
The skills that front-end developers need to mast...
MySQL downloads for all platforms are available a...
1. Changes in MySQL's default storage engine ...