First at the site:
http://download.mysql.cn/src/2006/0218/199.html
Download to MySQL-5.0.18-Win32, as shown in Figure 1:
Picture Accessories: [Figure 1]
1.jpg (2006-3-21 13:57, 1.72 k)
figure 1
Double-click this icon (first to ensure that WinRAR or WinZip is installed on your computer, the compression tool can also be downloaded in the page on the page), open the RAR decompression window, as shown in Figure 2
Image Accessories: [Figure 2]
2.jpg (2006-3-21 13:57, 77.77 k)
figure 2
You can extract the files on your hard drive and install it. You can also directly double-click the setup.exe file directly, start mysql5.0 installation.
First wait, it decompressed the file itself until the following window, Figure 3
Image Accessories: [Figure 3]
3.jpg (2006-3-21 13:57, 37.58 k)
image 3
Here is the installation welcome program, click Next to start the next step. The default is Typical. It is recommended to change to Custom because Typical mode does not allow the mounting path to be changed, and can only be installed on the C drive. The following will be introduced to the installation method of Custom, see Figure 4.
Picture Accessories: [Figure 4]
4.jpg (2006-3-21 13:57, 49.96 k)
Figure 4
To this step, you need to select the component and change the folder location. If the component is used by default, you can select Change to change, see Figure 5
Image Accessories: [Figure 5]
5.jpg (2006-3-21 13:57, 46.52 k)
Image Accessories: [Figure 5]
6.jpg (2006-3-21 13:57, 37.55 k)
Figure 5
Note: In the path to Mysql, you can't contain Chinese!
Everything is ready, click Install to start installing. See Figure 6.
Image Accessories: [Figure 6]
7.jpg (2006-3-21 13:57, 40.27 k)
Figure 6
Start the installation process, the installation progress bar will appear, see Figure 7.
Image Accessories: [Figure 7]
8.jpg (2006-3-21 13:57, 34.93 k)
Figure 7
After the installation is over, the program will prompt to register on mysql.com, we choose skip Sign-Up then click "Next" as shown in Figure 8.
Image Accessories: [Figure 8]
9.jpg (2006-3-21 13:57, 48.28 k)
Figure 8
End of installation, select the mysql server now. Click Finish to continue. Figure 9.
Image Accessories: [Figure 9]
10.jpg (2006-3-21 13:57, 44.91 k)
Figure 9
Start, click Next, see Figure 10 Picture Attachment: 11.jpg (2006-3-21 14:07, 39.41 K) Figure 10 Select Detailed Configuration, see Figure 11, point next Continue Picture Attachment: 12.jpg (2006 -3-21 14:07, 47.15 k) Figure 11 The following option is to select what type of mysql is applied, the first is the development server, will only use as little memory, the second is a normal web server, will be used Medium quantity memory, the last is that this server only runs the MySQL database, which will occupy all the memory. I am just examples here, choose the development server, take up as little memory, users can choose other options according to their own needs, See Figure 12, point Next Continue Image Accessories: 13.jpg (2006-3-21 14:07, 60.39 K) Figure 12 Below is the selection of database applications, the first is multi-functional use, will optimize the database well InnoDB storage type and high efficiency Myisam storage type, the second is only for transaction processing types, the best optimization InnoDB, but also support Myisam, the last is the non-transaction type, suitable for simple applications, only The Myisam type that supports the transaction is supported. General selection of the first multifunction. See Figure 13 Picture Attachment: 14.jpg (2006-3-21 14:07, 62.19 k) Figure 13 NEXT Continue, the following is the data storage location of INNODDB, which is generally the default, no need to change, see Figure 14 pictures Attachment: 15.jpg (2006-3-21 14:07, 49.24 K) Figure 14 below is the maximum number of maximum connections allowed by Mysql, the first is the maximum 20 connection, the second is the maximum 500 concurrent connections. Number, the last type is a custom, you can choose according to your needs, see Figure 15 Picture Attachment: 16.jpg (2006-3-21 14:07, 58.97 K) Figure 15 Next Continue, the following is to select the database monitor The port, generally default is 3306, if you change to other ports, you must remember the modified port when connecting to the database, otherwise you can't connect the mysql database, more troublesome, here you don't make modifications, use MySQ's default port: 3306, see Figure 16 Picture Attachment: 17.jpg (2006-3-21 14:07, 49.02 k) Figure 16 NEXT Continue, this step sets the default encoding of MySQL, default is Latin1, see Figure 17 Picture Attachment: 18.jpg (2006 -3-21 14:07, 57.33 k) Figure 17 We can change it as needed to GB2312, GBK, see Figure 18 Picture Attachment: 19.jpg (2006-3-21 14:07, 576 k) 18 Note: If you want to use the original database, it is best to determine what code is used by the database. If the encoding set here, the coding of the original database data is inconsistency, there may be garbled when using it. Click Next to continue, this step is to set MySQL to Windows service, which is generally selected to set up a service, so you can start and close the mysql database through the service. Recommended: The following check box is also checked, thus, in CMD mode, does not have to execute the command in the bin directory of MySQL.