MySQL 8.0.25 decompression version installation tutorial, for your reference, the specific content is as follows 1. Download (the official recommendation is to download and install the version, but the decompressed version is more convenient), download address 2. To decompress, we need to add one more step: (1) Create a file named my-default.ini (some versions are called my.ini): [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\\ # Set the storage directory of mysql database data datadir = D:\\Program Files\\mysql\\data # Maximum number of connections allowed max_connections=20 # 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 # Create mode sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES 3. Configure mysql environment variables: C:\Program Files\mysql-8.0.25-winx64 4. Run cmd as an administrator and do the following: (3) Execute the mysqld --install command to install the mysqld service; (4) Execute the net start mysql command to start the MySQL service; (5) Execute the mysql -u root -p command to connect to the MySQL database and enter the randomly generated password above; (6) Execute the following SQL to reset the root password: alter user 'root'@'localhost' identified with mysql_native_password by '123456'; For more tutorials about MySQL, please click on the topic: "MySQL different versions installation tutorial" 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:
|
<<: How to set the width attribute to the style of the span tag
Problem Description html <iframe id="h5Co...
Table of contents 1. Add attributes 2. Merge mult...
Table of contents 1. Problem description: 2. Trou...
Table of contents 1. Modify by binding the style ...
This article shares the specific code of the vue-...
I took the bus to work a few days ago. Based on m...
The commonly used escape characters in HTML are s...
The MySQL slow query log is very useful for track...
When the submenu of the navigation bar is generat...
Preface When we write web pages, we will definite...
This article shares the specific code for JavaScr...
MySQL variables include system variables and syst...
Usage scenarios For existing servers A and B, if ...
In general : [1 important flag] > [4 special fl...
If you want to install multiple tomcats, you must...