当前位置: 首页 > 知识 >正文

mysql.service failed(mysql启动不了服务怎么解决)

Service mysql startup error, mysql can't start. The solution to mysql: unrecognized service error is as follows:

[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/初始化。d/mysqld开始直接启动没问题

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 mysqldon Set the relational database to boot.

[root@downcc.com ~]# chmod 755/etc/RC。d/初始化。d/mysqld修改mysqld执行权限

[root@downcc.com ~]#服务mysqld启动搞定

Starting mysqld: [ OK ]

[root@downcc.com ~]# service mysqld start

Starting mysqld: [ OK ]

[root@downcc.com ~]# service mysqld status

mysqld (pid 9487) is running.

相关文章:
  • 6月1日基金净值:招商金安成长严选混合最新净值0.6392,涨0.02%
  • 6月12日基金净值:汇添富成长焦点混合最新净值2.0637,涨0.88%
  • 4月3日基金净值:兴全汇虹一年持有混合A最新净值1.0522,涨0.31%_基金频道_证券之星
  • 5月5日基金净值:交银主题优选混合A最新净值2.0252,跌0.61%
  • 5月10日基金净值:景顺景颐嘉利6个月持有期债券A最新净值1.1573,跌0.13%
  • 6月29日基金净值:富国中证全指证券公司指数(LOF)A最新净值0.828,跌0.24%
  • 国统股份获14家机构调研 国企背景加持或持续受益行业机遇
  • 7月13日基金净值:广发多元新兴股票最新净值1.7009,跌0.03%
  • 国泰标普500ETF(QDII)净值上涨1.18% 请保持关注
  • 6月26日基金净值:长城品牌优选混合最新净值1.5654,跌1.79%