我是靠谱客的博主 活力花卷,这篇文章主要介绍重装windows764 位后后如何将apache mysql加入系统服务,现在分享给大家,希望可以做个参考。

重装windows7 64 位后,想把mysql加到系统服务里面,

命令如下:

mysqld.exe --install,报以下错误:

Install/Remove of the Service Denied!

解决方案:

此错误是由于当前用户没有管理员权限造成的。开始——CMD.exe——右键,以管理员身份运行,然后按照以以下命令即可将mysql加到系统服务里面去

mysqld.exe --install

httpd.exe -k install

进阶:

1、mysql5.1以前版本用 mysqld-nt

2、指定服务名称 启动脚本

mysqld.exe --install mysql5.5 --defaults-file="D:\mysql5.5\my.ini"

httpd.exe -k install -n "Apache2.2" -f “D:\apache2.2\conf\httpd.conf

3、启动\停止服务

net start mysql

net start apache2.2

net stop mysql

net stop apache2.2

3、删除服务

mysqld.exe --remove

httpd.exe -k uninstall 或者 httpd.exe -k uninstall -n "Apache2.2"

最后

以上就是活力花卷最近收集整理的关于重装windows764 位后后如何将apache mysql加入系统服务的全部内容,更多相关重装windows764内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(188)

评论列表共有 0 条评论

立即
投稿
返回
顶部