复制代码 代码如下:
[MySQLd]
# set basedir to your installation path
basedir=c:/MySQL
# set datadir to the location of your data directory
datadir=c:/mydata/data
复制代码 代码如下:
# set character set
default-character-set=gbk
# set character collation
default-collation=gbk_chinese_ci
复制代码 代码如下:
c:/MySQL/bin/> MySQLd --install MySQL --defaults-file=C:/my.ini
c:/MySQL/bin/> NET START MySQL
新闻热点
疑难解答