Open the downloaded MySQL installation file mysql-5.0.27-win32.zip, double-click Unzip, run "Setup.exe", the following interface appears
MySQL Installation graphics Tutorial 1
MySQL Setup Wizard starts, press "Next" to continue
MySQL Graphics installation Tutorial 2
Select "Custom",
MySQL Graphics installation Tutorial 3
Left-click on the Developer Components (Developer section) and select "This feature, and all subfeatures, will is installed on the local hard drive.", that is, "this section, and the next belong to the sub-section, all installed on the local hard disk. The above "MySQL server", "Client Programs (MySQL client program)", "Documentation (documentation)" are also doing so to ensure that all files are installed. Click "Change ..." To manually specify the installation directory.
MySQL Graphics installation Tutorial 4
Fill in the installation directory and press "OK" to continue.
MySQL Graphics installation Tutorial 5
Go back to the interface and press "Next" to continue.
MySQL Graphics installation Tutorial 6
Press "Install" to start the installation.
MySQL Graphics installation Tutorial 7
In the installation, please wait until the following interface appears
MySQL Graphics installation Tutorial 8
Click "Skip Sign-up" and press "Next" to skip this step.
MySQL Graphics installation Tutorial 9
Put the "Configure the MySQL Servernow" tick on the front, click "Finish" to end the installation of the software and start the Mysql Configuration Wizard.
MySQL Graphics installation Tutorial 10
MySQL Configuration Wizard start interface, press "Next" to continue
MySQL Graphics installation Tutorial 10
Select "detailedconfiguration" to make it easy to familiarize yourself with the setup process.
MySQL Graphics installation Tutorial 11
Select the server type, "Developer Machine ( Development test class, MySQL occupies very little resources)", "Server machine (server type, MySQL takes up more resources)", "dedicated MySQL Server machine (dedicated database server, MySQL occupies all available resources) ", people choose according to their own type, generally choose" Servermachine ", not too little, will not be full.
MySQL Graphics installation Tutorial 12
Choose the general purpose of MySQL database, "multifunctionalDatabase (Universal multifunction, good)", "Transactional database only (server type, focus on transaction processing, general)", " Non-transactional Database only (non-transactional, simpler, mainly to do some monitoring, counting, MyISAM data type support is limited to non-transactional), with their own use and choose, I choose " Transactional Database Only ", press" Next "to continue.
MySQL Graphics installation Tutorial 13
To InnoDB tablespace configuration, is to select a storage space for InnoDB database files, if modified, to remember the location, re-install the time to choose the same place, otherwise it may cause database corruption, of course, do a backup of the database is no problem, here is not detailed. I have no changes here, use the default location, press "Next" to continue
MySQL Graphics installation Tutorial 14
Select your site's general MySQL traffic, number of simultaneous connections, "decision Support (DSS)/olap (20 or so)", "Online Transaction Processing (OLTP) (500)", " Manual Setting (manually set, you lose a number) ", I choose" Online Transaction Processing (OLTP) ", your own server, should be enough, press" Next "to continue
MySQL Graphics installation Tutorial 15
,Port number:3306, two tick
MySQL Graphics Installation Tutorial 16
Fill in the "GBK", of course, can also use "gb2312", the difference is that the gbk font capacity, including all the characters of gb2312, and add the traditional characters, and other messy words-when using MySQL, run the data Operation command before executing " SET NAMES GBK; " (Run once on the line, GBK can be replaced with other values, depending on the settings here), you can normally use Chinese characters (or other text), otherwise it will not be normal display of Chinese characters. Press "Next" to continue.
MySQL Graphics installation Tutorial 17
Choose whether to install MySQL as a Windows service, you can also specify the service name, or whether to add the MySQL bin directory to Windows PATH (after joining, you can directly use the file under Bin without indicating the directory name, such as connection, "Mysql.exe-uusername-ppassword;" You can, do not point out the full address of the Mysql.exe, very convenient), I have all ticked here, Service name unchanged. Press "Next" to continue. Choose whether to install MySQL as a Windows service, you can also specify the service name, or whether to add the MySQL bin directory to Windows PATH (after joining, you can directly use the file under Bin without indicating the directory name, such as connection, "Mysql.exe-uusername-ppassword;" You can, do not point out the full address of the Mysql.exe, very convenient), I have all ticked here, Service name unchanged. Press "Next" to continue.
MySQL Graphics installation Tutorial 18
This step asks if you want to modify the default root user (super Admin) password (default is empty), "New root password" If you want to modify, fill in the new password here (if it is a reload, and have already set a password here, change the password here may be error, please leave blank, and will "Modify Security Settings "in front of the hook removed, the installation configuration after the completion of a separate password)," Confirm (again lost) "filled again, to prevent the wrong. "Enable root access from remote machines (whether to allow root users to log on to other machines, if it is safe, do not tick, if it is convenient, tick it)". Finally "Create an Anonymous account (create a new anonymous user, anonymous users can connect to the database, unable to manipulate data, including queries)", generally do not check, set up, press "Next" to continue.
MySQL Graphics installation Tutorial 19
Confirm that the settings are correct, and if wrong, press "back" to return to the check. Press "Execute" to make the settings effective.
MySQL Graphics installation Tutorial 20
Setup finished, press "Finish" to end the installation and configuration of MySQL--here is a more common error, is not "Start service", generally appear in the previous installation of MySQL server, the solution, first to ensure that the previously installed MySQL server completely uninstalled , if not, check whether the previous password has been modified, according to the above, if not, the MySQL installation directory of the Data folder backup, and then delete, after the installation is complete, will install the generated Data folder to remove, the backup Data folder back, Restart the MySQL service again, in which case you might need to check the database and fix it once to prevent data errors.
(turn) Installation of mysql5.x