详细过程可参照百度经验http://jingyan.baidu.com/article/f3ad7d0ffc061a09c3345bf0.html

大体流程是,解压压缩包后,

1.配置环境变量

MYSQL_HOME=install_dir

PATH=%MYSQL_HOME%\bin

2.复制my-default.ini为my.ini为同目录。

3.打开命令行,进入%MYSQL_HOME%\bin
执行mysqld install,这样就注册到系统服务中,可以在services.msc中进行管理。
mysqld remove可以卸载服务。

 

my.ini简单配置文件如下:


# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.

[mysqld]
character-set-server=utf8


# 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

# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin

# These are commonly set, remove the # and set as required.
# basedir = .....
# datadir = .....
# port = .....
# server_id = .....


# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M 

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES 

[client]
default-character-set=utf8

MySQL 5.6 for Windows 解压缩版配置安装
Tagged on:

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据