Mysql installation configuration, mysql
L download the compressed package:
- Official Website: https://dev.mysql.com/downloads/mysql/5.1.html#downloads
- Step 1: Decompress the downloaded package to the directory you want to install
- Step 2: Go to the bin directory and copy the Directory
- Step 3: run the DOS window and enter the copied bin path.
- Step 4: Execute the installation command: mysqld install
- Step 5: run the "net start mysql" command to enable the service. There are two situations:
1. The service is successfully started.
2. Net is not an internal or external executable command:
Solution:
You only need to add the mysql installation path (bin directory) to the path environment variable (if there is other content in the path, you only need to add a semicolon to the end of the content; then you can add it to the end)
Mysql> indicates success.
Windows in the DOS console are not suitable for beginners. You can download a graphical operation interface tool.