Install and configure MySQL on Windows system

Remarks: MySQL 8.0.28 is installed here, and subsequent courses will also use this version as an example to explain.

1. Open the MySQL official website: https://www.mysql.com, click "DOWNLOADS" in the navigation bar.

2. Find "MySQL Community (GPL) Downloads »", click to enter the "MySQL Community Downloads" page. Then click "MySQL Installer for Windows" to enter the download page.

3. Select the complete installation package, click "Download", and jump to the download page

(If you download "mysql-installer-web-community-8.0.28.0.msi", you will only download the corresponding resources during installation, and these resources will be downloaded slowly in China)

 

4. Click "No thanks, just start my download." to start the download directly.

(It is recommended to use Xunlei to download, the speed will be faster)

 

 5. Double-click the installer "mysql-installer-community-8.0.28.0.msi", select "Server only", and click "Next"

 6. Click "Execute" and click "Next" after execution

 

7. Click "Execute" and click "Next" after execution

 

 8. Click "Next" to enter the setting interface

 9. Keep the default configuration, click "Next"

 

10. Set the password, in this example set to "pwd123123",

11. Keep the default configuration, click "Next" 

 

 12. Click "Execute" and click "Finish" after execution

 

 

 13. After the configuration is complete, click "Next", and then click "Finish" to complete the installation.

 

 

MySQL file structure: [C:\Program Files\MySQL\MySQL Server 8.0]

· bin folder: executable program folder, including the service startup program mysqld.exe and so on.

· include folder: refer to the platform support library, also called the built-in library, which contains database information files, and MySQL database support programs written in C, C#, and PHP.

· lib folder: Archives, also called file libraries, store some MySQL log files and related plug-in files.

· share folder: store error information and rule files, character setting files, etc.

Guess you like

Origin blog.csdn.net/qq_40255969/article/details/126063852