免安装版本在http://dev.mysql.com/downloads/mysql/5.0.html下载
下载后解压到c:\mysql获取他任意位置
解压后在目录下,找到my-huge.ini,my-large.ini,my-medium.ini配置文件
打开进行配置:
[mysqld]
# set basedir to your installation path
basedir=c:/mysql
# set datadir to the location of your data directory
datadir=c:/mydata/data
设置mysql的字符集,gbk或utf-8,根据需要
# set character set
default-character-set=gbk
# set character collation
default-collation=gbk_chinese_ci
保存后另存为my.ini
最后在开始->运行里
c:\mysql\bin\> mysqld --install MySQL --defaults-file=C:\my.ini
c:\mysql\bin\> NET START MySQL
就ok了,默认帐户root,密码空