#Path to installation directory. All paths are usually resolved relative to this.
basedir="D:\MySQL Server 5.1/"
#Path to the database root
datadir="D:\MySQL Server 5.1/Data/"
但是因为免安装,所以不会生成服务,只需通过简单的命令就可以实现:
打开命令窗口切换到mysql的bin目录下。
1.注册服务:
D:\MySQL Server 5.1\bin>mysqld --install mysql51
回车执行,会提示创建成功,打开服务可以找到刚创建的mysql51服务
2.卸载服务:
D:\MySQL Server 5.1\bin>mysqld --remove mysql51