L Download the zip package:
- Official website: https://dev.mysql.com/downloads/mysql/5.1.html#downloads
- The first step: Unzip the downloaded package to the directory you want to install
- Step two: Go to the bin directory and copy the directory
- Step three: Run the DOS window and go to the bin path you just copied
- Fourth step: Execute installation command: mysqld install
- Fifth step: Execute the command to open the service: net start MySQL will have two situations:
1. Service started successfully
2. Net is not an internal or external executable command:
Solution:
Just add the MySQL installation path (bin directory) to the PATH environment variable (if there is something else in path, just add a semicolon at the end of the content;
The appearance of mysql> means success.
Operation in DOS console window is not suitable for novice, can download graphical user interface tool
MySQL installation configuration