Install MySQL database [super detailed]

Installation of MySQL environment

Environment download address:
Link: https://pan.baidu.com/s/1Y3xJD_tNhzvCDsAmZ2X9NA
Extraction code: yzaw
32-bit and 64-bit self-view computer properties, select.

1. Open the downloaded mysql installation file and double-click to decompress it, and run "mysql-5.5.40-win32.msi".

Insert picture description here

Insert picture description here

2. Select the installation type, there are three options of "Typical (default)", "Complete (complete)", "Custom (user-defined)", select "Custom" and press "next" to continue.

Insert picture description here

3. Click "Browse" to manually specify the installation directory.

Insert picture description here

4. Fill in the installation directory, mine is "d:\MySQL\MySQL Server 5.0", press "OK" to continue.

Insert picture description here

5. Confirm the previous settings, if there is a mistake, press "Back" to return to redo. Press "Install" to start the installation.

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

6. During the installation, please wait until the following interface appears, then the MYSQL installation is completed

Insert picture description here

7. After the database is installed, you need to configure the database to use the MYSQL configuration. The installation is complete, and the following interface will appear to enter the mysql configuration wizard.

Insert picture description here

8. Select the configuration method, "Detailed Configuration (manual precise configuration)", "Standard Configuration (standard configuration)", we choose "Detailed Configuration" to facilitate familiarity with the configuration process.

Insert picture description here

9. Select the server type, "Developer Machine (development and testing, mysql takes up very little resources)", "Server Machine (server type, mysql takes up more resources)", "Dedicated MySQL Server Machine (dedicated database server, mysql takes up All available resources)"

Insert picture description here

10. Select the general purpose of the mysql database, "Multifunctional Database (general multifunctional, good)", "Transactional Database Only (server type, focusing on transaction processing, general)", "Non-Transactional Database Only (non-transactional type) , Relatively simple, mainly for some monitoring and counting purposes, support for MyISAM data type is limited to non-transactional), press "Next" to continue.

Insert picture description here

Insert picture description here

11. Select the number of concurrent connections to the website, the number of simultaneous connections, "Decision Support (DSS)/OLAP (about 20)", "Online Transaction Processing (OLTP) (about 500)", "Manual Setting (manual setting, your own Enter a number)"

Insert picture description here

12. Whether to enable TCP/IP connection and set the port. If not, you can only access the mysql database on your own machine. On this page, you can also select "Enable Strict Mode", This way MySQL will not allow minor syntax errors. If you are a novice, it is recommended that you cancel the standard mode to reduce trouble. But after familiar with MySQL, try to use the standard mode, because it can reduce the possibility of harmful data entering the database. Press "Next" to continue

Insert picture description here

13. Is to set the mysql default database language encoding (important), generally choose UTF-8, press "Next" to continue

Insert picture description here

14. Choose whether to install mysql as a windows service, you can also specify Service Name (service identification name), whether to add the mysql bin directory to the Windows PATH (after joining, you can directly use the files under bin without specifying the directory name For example, to connect, "mysql.exe -uusername -ppassword;" is fine. It is convenient not to point out the full address of mysql.exe), I have all ticked here, and the Service Name remains unchanged. Press "Next" to continue

Insert picture description here

15. Ask if you want to change the password of the default root user (super management). "Enable root access from remote machines (whether the root user is allowed to log in on other machines, if you want to be safe, don't check it, if you want convenience, check it)". Finally, "Create An Anonymous Account (create an anonymous user, anonymous users can connect to the database, can not manipulate data, including query)", generally do not need to check, after setting, press "Next" to continue

Insert picture description here

16. Confirm that the settings are correct, press "Execute" to make the settings take effect, that is, the installation and configuration of MYSQL is completed

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43215322/article/details/109056035