(1)到官网下载绿色版mysql:http://dev.mysql.com/downloads/mysql/ (2)下载好后,放在F:\mysql,解压出来 (3)进入到mysql-5.6.19-winx64这个文件夹,用记事本打开my-default.ini 把里面的内容替换: # For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.6/en/server-configurati…
如果直接用绿色版的mysql,则下载后解压,只需对目录下的my.ini文件的basedir(mysql的基本目录)和datadir(mysql数据目录)指定就可以,如下所示. #Path to installation directory. All paths are usually resolved relative to this.basedir="D:\MySQL Server 5.1/"#Path to the database rootdatadir="D:\MyS…