service mysql start出错,mysql不能启动,解决mysql: unrecognized service错误
我要评论2012/11/22 17:58:19 来源:绿色资源网编辑:www.downcc.com 评论:0点击:4162次
service mysql start出错,mysql启动不了,解决mysql: unrecognized service错误的方法如下:
[root@downcc.com ~]# service mysql start
mysql: unrecognized service
[root@downcc.com ~]# service mysql restart
mysql: unrecognized service
[root@downcc.com ~]# rpm -q mysql 查询发现mysql已经正常安装
mysql-5.1.52-jason.1
[root@downcc.com ~]# /etc/rc.d/init.d/mysqld start 直接启动没问题
Starting mysqld: [ OK ]
[root@downcc.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@downcc.com ~]# chkconfig mysqld on 设置mysql开机启动
[root@downcc.com ~]# chmod 755 /etc/rc.d/init.d/mysqld 修改mysqld执行权限
[root@downcc.com ~]# service mysqld start 搞定
Starting mysqld: [ OK ]
[root@downcc.com ~]# service mysqld start
Starting mysqld: [ OK ]
[root@downcc.com ~]# service mysqld status
mysqld (pid 9487) is running...
关键词:mysql
相关阅读
- 04-04ubuntu下安装了mysql 5 server忘记root密码怎么办?
- 04-04权限问题导致的MYSQL无法正常启动问题的解决办法
- 04-04Win7系统安装MySQL5.5.21图解教程
- 10-21Win2008 r2 下修改mysql data目录的方法
- 10-21MySQL修改root密码的4种方法(以windows为例)
- 03-29微软补丁KB967723造成MySQL频繁无法连接,刷新即恢复正常的解决方法 (Can not connect to MySQL server)
- 03-29Can't connect to MySQL server on 'localhost'
- 04-08Win2003+IIS6.0+php5.2.2+MySQL 5.0.41+ZendOptimizer 3.2.8 +phpMyAdmin 2.10.1环境配置安装教程图文详解
- 04-04快速让MySQL数据库服务器支持远程连接
- 02-23MYSQL数据库实用学习资料之常用命令集合
阅读本文后您有什么感想? 已有 人给出评价!
用户评论
热门评论
最新评论
相关软件
热点图文
- 01-05mysql安装图解、mysql5.6.10安装详细图文教程
- 01-04Mysql 安装问题。提示MySQL Server 5.1 -- Error 1335.
- 11-22service mysql start出错,mysql不能启动,解决mysql: unrecognized service错误
- 01-11Can't connect to local MySQL server through socket '/tmp/mysql.sock'(2)
- 11-24wdcp修改mysql数据库root密码时提示原密码不对
- 05-13MySQL数据库INNODB 表损坏修复处理过程
- 07-18MySql5.0 Table错误:is marked as crashed and last (automatic?) repair failed
- 08-03如何查询mysql数据库中哪些表的数据量最大?
- 01-24MYSQL-Front中文版使用图文教程
- 04-04Win7系统安装MySQL5.5.21图解教程