发布网友 发布时间:2022-05-06 09:18
共3个回答
懂视网 时间:2022-05-06 13:40
mysql: unrecognized service错误 service mysql start出错,mysql启动不了,解决mysql: unrecognized service错误的方法如下: ? [root@ctohome.com ~]# service mysql start mysql: unrecognized service [root@ctohome.com ~]# service mysql restart mysq
mysql: unrecognized service错误service mysql start出错,mysql启动不了,解决mysql: unrecognized service错误的方法如下:
?
[root@ctohome.com ~]# service mysql start
mysql: unrecognized service
[root@ctohome.com ~]# service mysql restart
mysql: unrecognized service
?
[root@ctohome.com ~]# rpm -q mysql ? 查询发现mysql已经正常安装
mysql-5.1.52-jason.1
?
[root@ctohome.com ~]# /etc/rc.d/init.d/mysqld start ?直接启动没问题
Starting mysqld: ?[ ?OK ?]
?
?
[root@ctohome.com ~]# ls ?/etc/rc.d/init.d/mysqld ?-l
-rwxr-xr-x 1 root root 5509 Dec 18 02:31 /etc/rc.d/init.d/mysqld
?
[root@ctohome.com ~]# chkconfig mysqld on 设置mysql开机启动
?
[root@ctohome.com ~]# chmod 755 /etc/rc.d/init.d/mysqld ?修改mysqld执行权限
?
[root@ctohome.com ~]# service mysqld start ?搞定
Starting mysqld: ?[ ?OK ?]
[root@ctohome.com ~]# service mysqld start
Starting mysqld: ?[ ?OK ?]
[root@ctohome.com ~]# service mysqld status
mysqld (pid 9487) is running...
源:http://www.cnblogs.com/hailexuexi/archive/2012/07/19/2599254.html
热心网友 时间:2022-05-06 10:48
你输入service ssh status 显示unrecongnized srevice,说明你的电脑上没有开启ssh服务,否则会显示ssh start/running,process 5382,你用的什么linux,ubuntu应该用/etc/init.d/ssh restart来启动ssh服务热心网友 时间:2022-05-06 12:06
service mysql start出错,mysql启动不了,解决mysql: unrecognized service错误的方法如下: