(Reprint) window to install mysql

 

A, MYSQL installation

1. Open the downloaded file to install mysql mysql-5.5.27-win32.zip, double-click unzip, run "setup.exe".

 

 

 

 

 

 

 

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

 

 

 

 

 

 

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

 

 

 

 4, fill in the installation directory, mine is "F: \ Server \ MySQL \ MySQL Server 5.0", also recommended not to put the operating system on the same partition, which can prevent system backup and restore time, the data is cleared. Press "OK" to continue.

 

 

 

Confirm previous settings, if there are errors, press "Back" to return to redo. Press "Install" to begin the installation.

 

 

 After been next

   5, is being installed, please wait until the following screen appears, the installation is completed MYSQL

 

 

 

 

Two, MYSQL configuration

1, the installation is complete, the following interface will enter the mysql configuration wizard.

 

 

2, select the configuration mode, "Detailed Configuration (manual precise configuration)", "Standard Configuration (standard configuration)," we choose "Detailed Configuration", to facilitate familiar with the configuration process.

 

 

 

3. Select the server type, "Developer Machine (developing test class, mysql occupy very little resources)", "Server Machine (server type, mysql occupy more resources)", "Dedicated MySQL Server Machine (dedicated database server, mysql occupy All available resources). "

 

 

 

 

4, uses a substantially mysql database selection, "Multifunctional Database (Universal multi-function type, good)", "Transactional Database Only (server type, focused on transaction processing, general)", "Non-Transactional Database Only (non-transaction processing , relatively simple, mainly to do some monitoring, counting with support for MyISAM data type is limited to non-transactional), press "Next" to continue.

 

 

 

5, select the number of connected sites concurrently, the number of simultaneous connections, "Decision Support (DSS) / OLAP (about 20)", "Online Transaction Processing (OLTP) (about 500)", "Manual Setting (manually set their own a number input). "

 

 

 

6, whether to enable TCP / IP connections, set the port, if not enabled, you can only access the mysql database on your own machine, on this page, you can also select "Enable Standard Mode" (Enable Strict Mode), so MySQL will not allow small grammatical errors. If you are a novice, you should cancel the standard mode to reduce trouble. But after the familiar MySQL, try to use the standard mode, because it can reduce the likelihood of harmful data into the database. "Next" to continue

 

 

 

7, is the language of the mysql database default encoding settings (important), the general election UTF-8, press "Next" to continue.

 

 

 

8, choose whether to mysql installed as a windows service, you can also specify the Service Name (Service identification name), whether or mysql's bin directory to Windows PATH (after joining, you can use the files in the bin directly, without having to point out the directory name , such as connection, "mysql.exe -uusername -ppassword;" on it, do not indicate the full address mysql.exe, it is convenient), I'm here all marked hook, Service Name unchanged. "Next" to continue.

 

 

 

9, asking if you want to modify the default root user (super administrator) password. "Enable root access from remote machines (whether to allow root user login on another machine, if you want security, do not hook on, if you want convenience, you hook on it)." Finally, "Create An Anonymous Account (Create an anonymous user, the anonymous user can connect to the database, not operational data, including queries)," generally do not hook up, set up, press "Next" to continue.

 

10, confirm the setting is correct, press the "Execute" settings to take effect, i.e., to complete the installation and configuration MYSQL.

 

 

 

 

 Note: Let set completely complete , press "Finish" after a more than relatively often see the error , it is not "Start service", usually out now have to install mysql of service before the service on the device, resolved to do law, the first insurance license previously installed mysql server service is thoroughly bottom discharge carrying out; does not work , then , to check whether according to the above one step is to say , before the secret code with or without modification, according to the above operation; if still not the mysql installation directory recorded under the data file folder backup parts, and then delete addition, after installation, the installation of the generated data file folder delete addition, backup copies of the data file folder moved back, and then restart mysql service serviceOn it, this case, you may need the data library to check it, and then repair complex once, to prevent data out wrong.

 

 

 

Solution:

 

1, uninstall MySQL

2, Windows Xp system deletes the directory C: \ Documents and Settings \ All Users \ Application Data \

windows 7 \ 8 \ 10 operating system to delete the directory C: \ ProgramData \ MySQL

3 , reinstall it

 

Guess you like

Origin www.cnblogs.com/zhuguangzhe/p/11589791.html