1、下载zip
2、解压到D:,改名为D:\mysql ,创建D:\mydata\,把D:\mysql\data复制到D:\mydata
3、创建my.ini放置到c:\windows,内容:
[mysqld]
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....
# set basedir to your installation path
basedir=D:\\mysql
# set datadir to the location of your data directory
datadir=D:\\mydata\\data
4、初始启动
mysqld --console
5、启动
mysqld