MySql 5.5.29 Green Installation Tutorial Details
- 2021-06-28 09:49:40
- OfStack
1. Download address http://pan.baidu.com/s/1kV18bnp
2. Unzip to D disk directory
2. Configure the environment variable MYSQL_HOME=D:\MySQL-5.5.29-winx64
Add%MYSQL_after pathHOME%bin
3. Rename my-small.ini to my.ini and modify the file contents to
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
[mysql]
# Set up mysql Character Set for Client
default-character-set = utf8
# The MySQL server
[mysqld]
port = 3306
# Set up mysql Installation directory for
basedir = D:\mysql-5.5.29-winx64
# Set up mysql Database Data Storage Directory , Must be data perhaps \xxx-data
datadir = D:\mysql-5.5.29-winx64\data
# Set the character set of the server segment
character_set_server = utf8
4. Registration Services
The cmd command enters D:mysql-5.5.29-winx64bin in the bin folder of the Mysql installation directory and executes the command
mysqld --install mysql5
5. Start the service
net start mysql5