1.打开文件my-huge.ini另存为my.ini,在my.ini文件中加入如下配置,再放到C:/windows下
[quote][mysqld]
basedir=E:/.../mysql
datadir=E:/.../mysql/data[/quote]
2.在环境变量中把[quote]%MYSQL_HOME%\bin[/quote] 加入到path
将mysql安装为winsow服务
1、执行:
2、执行:
3、执行:
[quote][mysqld]
basedir=E:/.../mysql
datadir=E:/.../mysql/data[/quote]
2.在环境变量中把[quote]%MYSQL_HOME%\bin[/quote] 加入到path
将mysql安装为winsow服务
1、执行:
mysqld.exe --remove
(移除以前windows的服务)2、执行:
mysqld.exe --install
(安装到windows的服务)3、执行:
net start mysql