First, install the ZIP version
Download
Mysql-5.5.27-win32.zip (according to the system to download the corresponding)
Unzip
Unzip the file in a directory that does not contain Chinese and contains no spaces
Configuration
under [mysqld] in the My.ini file, Add the following:
[Mysqld]
Basedir=d:\\java\\mysql-5.5.27-win32
Datadir=d:\\java\\mysql-5.5.27-win32\\data
Note: This step does not need to be set after mysql5.5.21
start the MySQL server
Startup Success
First time
The required files are created in the/data directory The first time you start
second time
setting up MYSQL as a window service
Add to
removed from
manual operation (Learn)
Create
SC create MySQL binpath= "D:\java\mysql-5.5.27-win32\bin\mysqld mysql" displayname= "mysqlxx" start= Auto
Delete
SC Delete MySQL
Start
net start MySQL
Close
net stop MySQL
MySQL installation----ZIP (compressed package version)