mysql installation detailed steps diagram mysql installation detailed steps diagram

mysql installation detailed steps diagram

 

This article is transferred from http://blog.csdn.net/fanyunlei/article/details/21454645

 

Don't look at the picture too much, in fact, the installation of mysql is very simple, all the way to next, just pay attention to the third step from the bottom, when setting the root administrator password, you must remember it.

 

The following is a diagram of MySQL installation, installed with the executable file, and explained in detail! Open the downloaded mysql installation file

MySQL installation graphic tutorial 1


mysql-5.0.27-win32.zip , double-click to decompress it, run "setup.exe", and the following interface will appear
 
.
MySQL graphic installation tutorial 2

Tutorial 2
 
Choose the installation type, there are three options: "Typical (default)", "Complete (complete)", "Custom (user-defined)", we choose "Custom", there are more options, and it is also convenient to be familiar with the installation process :

MySQL graphic installation tutorial 3
MySQL graphic installation tutorial 3
 
Left-click on "Developer Components" and select "This feature, and all subfeatures, will be installed on local hard drive.", that is, "This part, and its subordinates" Part of the content, all installed on the local hard drive". In the above "MySQL Server (mysql server)", "Client Programs (mysql client program)", "Documentation (document)" do the same to ensure that all files are installed. Click "Change..." to manually specify the installation directory.
MySQL graphic installation tutorial 4

MySQL graphic installation tutorial 4
Fill in the installation directory, mine is "F:\Server\MySQL\MySQL Server 5.0", it is also recommended not to put it in the same partition as the operating system, which can prevent the data from being emptied when the system is backed up and restored . Press "OK" to continue.
MySQL graphic installation tutorial 5

mysql graphic installation tutorial 5
Return to the previous interface, press "Next" to continue

MySQL graphic installation tutorial 6
mysql graphic installation tutorial 6 to
confirm the previous settings, if there is an error, press "Back" to return to redo. Press "Install" to start the installation.
 
MySQL graphic installation tutorial 7

mysql graphic installation tutorial 7 is
being installed, please wait until the following interface
 
MySQL graphic installation tutorial 8

mysql graphic installation tutorial 8 appears
, generally not needed, click "Skip Sign-Up", and press "Next" to skip this step.
 
MySQL graphic installation tutorial 9

mysql graphic and text installation tutorial 9
Now the software installation is complete, the above interface appears, there is a very good function, the mysql configuration wizard, you don't have to manually configure my.ini as before, and set "Configure the Mysql Server" Now", click "Finish" to end the software installation and start the mysql configuration wizard.
 
MySQL graphic installation tutorial 10

mysql graphic and text installation tutorial 10
 
mysql configuration wizard starts the interface, press "Next" to continue
MySQL graphic installation tutorial 10

mysql graphic text installation tutorial 10
Select the configuration method, "Detailed Configuration (manual precise configuration)", "Standard Configuration (standard configuration)", we choose "Detailed Configuration" to familiarize yourself with the configuration process.

MySQL graphic installation tutorial 11
MySQL graphic and text installation tutorial 11
Select the server type, "Developer Machine (development and testing class, mysql takes up few resources)", "Server Machine (server type, mysql takes up more resources)", "Dedicated MySQL Server Machine (special database) Server, mysql occupies all available resources)", everyone chooses according to their own type, generally choose "Server Machine", it will not be too small, and it will not be full.

MySQL graphic installation tutorial 12
MySQL graphic installation tutorial 12
Select the general purpose of the mysql database, "Multifunctional Database (general multi-functional, good)", "Transactional Database Only (server type, focusing on transaction processing, general)", "Non-Transactional Database Only (non-transactional database only (non-transactional, relatively) Simple, mainly for monitoring and counting purposes, the support for MyISAM data types is limited to non-transactional), choose according to your own use, I choose "Transactional Database Only" here, and press "Next" to continue
 
MySQL graphic installation tutorial 13

. Installation Tutorial 13
 
To configure the InnoDB Tablespace is to select a storage space for the InnoDB database file. If it is modified, remember the location and choose the same place when reinstalling, otherwise the database may be damaged. Of course, do There is no problem with a backup, and I will not describe it in detail here. I have not modified it here, use the default location, and directly press "Next" to continue
 
MySQL graphic installation tutorial 14

mysql graphic and text installation tutorial 14
 
Select the general mysql traffic of your website and the number of simultaneous connections, " Decision Support (DSS)/OLAP (about 20)", "Online Transaction Processing (OLTP) (about 500)", "Manual Setting (manual setting, enter a number by yourself)", I choose "Online Transaction Processing ( OLTP)", your own server, it should be enough, press "Next" to continue
MySQL graphic installation tutorial 15

mysql graphic and text installation tutorial 15
 
Whether to enable TCP/IP connection, set the port, if not, you can only access the mysql database on your own machine, I enable it here, tick the front, Port Number: 3306, on this page, you also You can choose to "enable standard mode" (Enable Strict Mode), so that MySQL will not allow small syntax errors. If you're still new, I'd recommend canceling the standard mode for less hassle. But once you are 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 the
 
MySQL graphic installation tutorial 16

mysql graphic and text installation tutorial 16
 
Western encoding, the second is the multi-byte general utf8 encoding, which is not our general encoding, choose the third one here, and then select or fill in "Character Set" "gbk", of course, "gb2312" can also be used. The difference is that gbk has a large font capacity, including all Chinese characters of gb2312, and adding traditional Chinese characters and other messy words - when using mysql, when executing data manipulation commands Run "SET NAMES GBK;" once before (run it once, GBK can be replaced with other values, depending on the settings here), you can use Chinese characters (or other characters) normally, otherwise Chinese characters will not be displayed normally. Press "Next" to continue.
MySQL graphic installation tutorial 17

MySQL graphic installation tutorial 17
Choose whether to install mysql as a windows service, you can also specify the Service Name (service identification name), and whether to add the mysql bin directory to the Windows PATH (after adding, you can directly use the files under bin without specifying the directory name, such as To connect, "mysql.exe -uusername -ppassword;" is fine, no need to point out the full address of mysql.exe, which is very convenient), I have ticked all here, and the Service Name remains unchanged. Press "Next" to continue. Choose whether to install mysql as a windows service, you can also specify the Service Name (service identification name), and whether to add the mysql bin directory to the Windows PATH (after adding, you can directly use the files under bin without specifying the directory name, such as To connect, "mysql.exe -uusername -ppassword;" is fine, no need to point out the full address of mysql.exe, which is very convenient), I have ticked all here, and the Service Name remains unchanged. Press "Next" to continue.
 
MySQL graphic installation tutorial 18

mysql graphic installation tutorial 18
 
This step asks if you want to modify the password of the default root user (super management) (the default is empty). If you want to modify the "New root password", fill in the new password here (if it is reinstalled, and The password has been set before, and it may be wrong to change the password here, please leave it blank, and remove the check in front of "Modify Security Settings", and change the password after the installation and configuration is completed), and then fill in "Confirm (enter again)" Once, to prevent mistyping. "Enable root access from remote machines" Finally, "Create An Anonymous Account (create a new anonymous user, anonymous users can connect to the database, cannot operate data, including query)", generally do not need to tick, after setting, press "Next" to continue.
 
MySQL graphic installation tutorial 19

MySQL graphic installation tutorial 19
 
Confirm that the settings are correct, if there are any errors, press "Back" to return to checking. Press "Execute" for the setting to take effect.
 
MySQL graphic installation tutorial 20

mysql graphic installation tutorial 20 After the
 
setup is complete, press "Finish" to end the installation and configuration of mysql -- there is a relatively common error here, that is, "Start service" cannot be used. It usually appears on the server where mysql has been installed before. The solution , first ensure that the previously installed mysql server is completely uninstalled; if not, check whether the previous password has been modified as mentioned in the above step, and follow the above operation; if it still does not work, back up the data folder in the mysql installation directory , and then delete it. After the installation is complete, delete the data folder generated by the installation, move the backup data folder back, and restart the mysql service. In this case, you may need to check the database and repair it once. Prevent data errors.



 
Category:  Database
Tags:  mysql

This article is transferred from http://blog.csdn.net/fanyunlei/article/details/21454645

 

Don't look at the picture too much, in fact, the installation of mysql is very simple, all the way to next, just pay attention to the third step from the bottom, when setting the root administrator password, you must remember it.

 

The following is a diagram of MySQL installation, installed with the executable file, and explained in detail! Open the downloaded mysql installation file

MySQL installation graphic tutorial 1


mysql-5.0.27-win32.zip , double-click to decompress it, run "setup.exe", and the following interface will appear
 
.
MySQL graphic installation tutorial 2

Tutorial 2
 
Choose the installation type, there are three options: "Typical (default)", "Complete (complete)", "Custom (user-defined)", we choose "Custom", there are more options, and it is also convenient to be familiar with the installation process :

MySQL graphic installation tutorial 3
MySQL graphic installation tutorial 3
 
Left-click on "Developer Components" and select "This feature, and all subfeatures, will be installed on local hard drive.", that is, "This part, and its subordinates" Part of the content, all installed on the local hard drive". In the above "MySQL Server (mysql server)", "Client Programs (mysql client program)", "Documentation (document)" do the same to ensure that all files are installed. Click "Change..." to manually specify the installation directory.
MySQL graphic installation tutorial 4

MySQL graphic installation tutorial 4
Fill in the installation directory, mine is "F:\Server\MySQL\MySQL Server 5.0", it is also recommended not to put it in the same partition as the operating system, which can prevent the data from being emptied when the system is backed up and restored . Press "OK" to continue.
MySQL graphic installation tutorial 5

mysql graphic installation tutorial 5
Return to the previous interface, press "Next" to continue

MySQL graphic installation tutorial 6
mysql graphic installation tutorial 6 to
confirm the previous settings, if there is an error, press "Back" to return to redo. Press "Install" to start the installation.
 
MySQL graphic installation tutorial 7

mysql graphic installation tutorial 7 is
being installed, please wait until the following interface
 
MySQL graphic installation tutorial 8

mysql graphic installation tutorial 8 appears
, generally not needed, click "Skip Sign-Up", and press "Next" to skip this step.
 
MySQL graphic installation tutorial 9

mysql graphic and text installation tutorial 9
Now the software installation is complete, the above interface appears, there is a very good function, the mysql configuration wizard, you don't have to manually configure my.ini as before, and set "Configure the Mysql Server" Now", click "Finish" to end the software installation and start the mysql configuration wizard.
 
MySQL graphic installation tutorial 10

mysql graphic and text installation tutorial 10
 
mysql configuration wizard starts the interface, press "Next" to continue
MySQL graphic installation tutorial 10

mysql graphic text installation tutorial 10
Select the configuration method, "Detailed Configuration (manual precise configuration)", "Standard Configuration (standard configuration)", we choose "Detailed Configuration" to familiarize yourself with the configuration process.

MySQL graphic installation tutorial 11
MySQL graphic and text installation tutorial 11
Select the server type, "Developer Machine (development and testing class, mysql takes up few resources)", "Server Machine (server type, mysql takes up more resources)", "Dedicated MySQL Server Machine (special database) Server, mysql occupies all available resources)", everyone chooses according to their own type, generally choose "Server Machine", it will not be too small, and it will not be full.

MySQL graphic installation tutorial 12
MySQL graphic installation tutorial 12
Select the general purpose of the mysql database, "Multifunctional Database (general multi-functional, good)", "Transactional Database Only (server type, focusing on transaction processing, general)", "Non-Transactional Database Only (non-transactional database only (non-transactional, relatively) Simple, mainly for monitoring and counting purposes, the support for MyISAM data types is limited to non-transactional), choose according to your own use, I choose "Transactional Database Only" here, and press "Next" to continue
 
MySQL graphic installation tutorial 13

. Installation Tutorial 13
 
To configure the InnoDB Tablespace is to select a storage space for the InnoDB database file. If it is modified, remember the location and choose the same place when reinstalling, otherwise the database may be damaged. Of course, do There is no problem with a backup, and I will not describe it in detail here. I have not modified it here, use the default location, and directly press "Next" to continue
 
MySQL graphic installation tutorial 14

mysql graphic and text installation tutorial 14
 
Select the general mysql traffic of your website and the number of simultaneous connections, " Decision Support (DSS)/OLAP (about 20)", "Online Transaction Processing (OLTP) (about 500)", "Manual Setting (manual setting, enter a number by yourself)", I choose "Online Transaction Processing ( OLTP)", your own server, it should be enough, press "Next" to continue
MySQL graphic installation tutorial 15

mysql graphic and text installation tutorial 15
 
Whether to enable TCP/IP connection, set the port, if not, you can only access the mysql database on your own machine, I enable it here, tick the front, Port Number: 3306, on this page, you also You can choose to "enable standard mode" (Enable Strict Mode), so that MySQL will not allow small syntax errors. If you're still new, I'd recommend canceling the standard mode for less hassle. But once you are 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 the
 
MySQL graphic installation tutorial 16

mysql graphic and text installation tutorial 16
 
Western encoding, the second is the multi-byte general utf8 encoding, which is not our general encoding, choose the third one here, and then select or fill in "Character Set" "gbk", of course, "gb2312" can also be used. The difference is that gbk has a large font capacity, including all Chinese characters of gb2312, and adding traditional Chinese characters and other messy words - when using mysql, when executing data manipulation commands Run "SET NAMES GBK;" once before (run it once, GBK can be replaced with other values, depending on the settings here), you can use Chinese characters (or other characters) normally, otherwise Chinese characters will not be displayed normally. Press "Next" to continue.
MySQL graphic installation tutorial 17

MySQL graphic installation tutorial 17
Choose whether to install mysql as a windows service, you can also specify the Service Name (service identification name), and whether to add the mysql bin directory to the Windows PATH (after adding, you can directly use the files under bin without specifying the directory name, such as To connect, "mysql.exe -uusername -ppassword;" is fine, no need to point out the full address of mysql.exe, which is very convenient), I have ticked all here, and the Service Name remains unchanged. Press "Next" to continue. Choose whether to install mysql as a windows service, you can also specify the Service Name (service identification name), and whether to add the mysql bin directory to the Windows PATH (after adding, you can directly use the files under bin without specifying the directory name, such as To connect, "mysql.exe -uusername -ppassword;" is fine, no need to point out the full address of mysql.exe, which is very convenient), I have ticked all here, and the Service Name remains unchanged. Press "Next" to continue.
 
MySQL graphic installation tutorial 18

mysql graphic installation tutorial 18
 
This step asks if you want to modify the password of the default root user (super management) (the default is empty). If you want to modify the "New root password", fill in the new password here (if it is reinstalled, and The password has been set before, and it may be wrong to change the password here, please leave it blank, and remove the check in front of "Modify Security Settings", and change the password after the installation and configuration is completed), and then fill in "Confirm (enter again)" Once, to prevent mistyping. "Enable root access from remote machines" Finally, "Create An Anonymous Account (create a new anonymous user, anonymous users can connect to the database, cannot operate data, including query)", generally do not need to tick, after setting, press "Next" to continue.
 
MySQL graphic installation tutorial 19

MySQL graphic installation tutorial 19
 
Confirm that the settings are correct, if there are any errors, press "Back" to return to checking. Press "Execute" for the setting to take effect.
 
MySQL graphic installation tutorial 20

mysql graphic installation tutorial 20 After the
 
setup is complete, press "Finish" to end the installation and configuration of mysql -- there is a relatively common error here, that is, "Start service" cannot be used. It usually appears on the server where mysql has been installed before. The solution , first ensure that the previously installed mysql server is completely uninstalled; if not, check whether the previous password has been modified as mentioned in the above step, and follow the above operation; if it still does not work, back up the data folder in the mysql installation directory , and then delete it. After the installation is complete, delete the data folder generated by the installation, move the backup data folder back, and restart the mysql service. In this case, you may need to check the database and repair it once. Prevent data errors.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324515140&siteId=291194637