Version: mysql-noinstall-5.1.53-win32.zip
To reduce the volume, just extract the bin data share three folders and all files under the mysql-5.1.53-win32 directory.
After decompression, copy either of the my-small.ini my-medium.ini my-large.ini my-huge.ini, rename it my. ini, open my. ini, add at the end
[Mysqld]
# Set basedir to your installation path MySQL decompression location
Basedir = D:/Wamp/MySQL
# Set datadir to the location of your data directory Mysql Data File Location
Datadir = D:/Wamp/MySQL/Data
# Default Character Set
Default-character-set = utf8
[Client]
# Default Character Set of the Client
Default-character-set = GBK
Save and exit
In cmd, go to the bin directory of MySQL. My directory is D: \ Wamp \ mysql \ bin.
Running mysqld install prompts that the service is successfully installed. The command to uninstall the service is mysqld remove
Run Net start MySQL to start MySQL Service
Run mysql-u root-P and enter the password. If the password is blank, press enter to enter the mysql client.
The installation is successful.