7z format, you need to install decompression software
1. Unzip the downloaded mysql-noinstall-5.1.73-win32.zip to the location you need to install, such as: C:\Program Files;
2. Find the my-small.ini configuration file under the installation folder, rename it to my.ini, open it and edit it, and add a line under [client] and [mysqld]: default-character-set = gbk
3. Open the Windows environment variable settings, create a new variable name MYSQL_HOME, the variable value is the MySQL installation directory path, here it is C:\Program Files\mysql-5.1.73-win32
4. Add to the Path variable of the environment variable; %MYSQL_HOME%\bin;
At this time, if you do not install (that is, if you do not perform step 5, you can also start the mysql service in the cmd command line, enter mysqld to start, but this service cannot be set to boot up, you need to install mysql into the Windows system service)
5. Install MySQL Service, open the Windows Command Prompt, and execute the command: mysqld --install MySQL --defaults-file="my.ini" prompts "Service successfully installed." Indicates success; If Install/Remove of the Service Denied occurs, it is usually a permission issue, and you need to start the cmd.exe as an administrator. Then execute the above command. After completion, you can go to the system service of Windows and see the mysql service. Of course, you can also start it through the command line (mysqld) In addition, you can also start, shut down and uninstall MySQL services through net start MySQL, net stop MySQL, net delete MySQL. Download Address:
Link: http://pan.baidu.com/s/1c2iGnHeTourists, if you want to see the hidden content of this post, please Reply
|