我的是 5.0版本, 找到mysql 安装 bin 目录,在 cmd 命令行中运行 mysqld-nt.exe -install 返回 Service successfully installed.
然后启动, net start mysql 关闭是 net stop mysql
5.1以后版本 ,在命令行中 运行 mysqld.exe -install
如果出现 install/remove of the service denied 权限不够,用管理员身份运行 cmd.exe
我的是 5.0版本, 找到mysql 安装 bin 目录,在 cmd 命令行中运行 mysqld-nt.exe -install 返回 Service successfully installed.
然后启动, net start mysql 关闭是 net stop mysql
5.1以后版本 ,在命令行中 运行 mysqld.exe -install
如果出现 install/remove of the service denied 权限不够,用管理员身份运行 cmd.exe