本文主要向大家介绍了MySQL数据库之mysqld服务启动失败, Failed to restart mysqld.service: Unit not found. ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助。

-bash-4.2# service mysqld restart Redirecting to /bin/systemctl restart  mysqld.serviceFailed to restart mysqld.service: Unit not found.

并不存在 mysqld 的服务,

-bash-4.2#

-bash-4.2# chkconfig -list

-list: unknown option

-bash-4.2# chkconfig --list

Note: This output shows SysV services only and does not include native

systemd services. SysV configuration data might be overridden by native

systemd configuration.

If you want to list systemd services use ‘systemctl list-unit-files‘.

To see services enabled on particular target use

‘systemctl list-dependencies [target]‘.

aegis           0:off   1:off   2:on    3:on    4:on    5:on    6:off

agentwatch      0:off   1:off   2:on    3:on    4:on    5:on    6:off

iprdump         0:off   1:off   2:on    3:on    4:on    5:on    6:off

iprinit         0:off   1:off   2:on    3:on    4:on    5:on    6:off

iprupdate       0:off   1:off   2:on    3:on    4:on    5:on    6:off

jexec           0:off   1:on    2:on    3:on    4:on    5:on    6:off

mysql.server    0:off   1:off   2:on    3:on    4:on    5:on    6:off

netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off

network         0:off   1:off   2:on    3:on    4:on    5:on    6:off

可见,服务名不是mysqld 而是 mysql.server

于是:

-bash-4.2# service mysql.server restart Shutting down MySQL....[  OK  ]Starting MySQL.[  OK  ]

本文由职坐标整理并发布,希望对同学们学习MySQL有所帮助,更多内容请关注职坐标数据库MySQL数据库频道!

mysqld restart service 卡_MySQL数据库之mysqld服务启动失败, Failed to restart mysqld.service: Unit not found....相关推荐

  1. mysql安装服务和安装中常见问题install/Remove of the Service Denied与net start mysql服务启动失败解决方法

    mysql安装服务和安装中常见问题install/Remove of the Service Denied与net start mysql服务启动失败解决方法 参考文章: (1)mysql安装服务和安 ...

  2. mysqld服务启动失败, Failed to restart mysqld.service: Unit not found.

    mysqld服务启动失败, Failed to restart mysqld.service: Unit not found. -bash-4.2# service mysqld restart Re ...

  3. CentOS 7下mysqld服务启动失败终极解决方案

    CentOS 7下mysqld服务启动失败终极解决方案 参考文章: (1)CentOS 7下mysqld服务启动失败终极解决方案 (2)https://www.cnblogs.com/waycx/p/ ...

  4. User profile synchronization service starting issues 用户配置文件同步服务启动问题

    User profile synchronization service starting issues 用户配置文件同步服务启动问题 这里,尽管我删除并重建了user profile service ...

  5. 解决PHPStudy8.1.1 mySQL服务启动失败 数据库工具报错卡死

    项目场景: 最近在学PHP,学到mySQL的时候我掏出了我积满灰尘的PHPStudy,但是版本太低了,就去下了个新版: 问题描述: 然后就是mySQL服务无法启动,老倒霉蛋了,一点都不惊讶甚至觉得就该 ...

  6. Docker服务启动报错:Job for docker.service failed because the control process exited with error

    错误 Docker服务启动报错:Job for docker.service failed because the control prcess exited with error 原文地址: htt ...

  7. mysql 程序崩溃无法启动_mysql数据库崩溃,无法启动

    08:26:23 mysqld_safe Number of processes running now: 0 170329 08:26:23mysqld_safe mysqld restarted1 ...

  8. mysql 作为服务启动_mysql系列-安装及服务启动

    1. 将下载的 文件 解压至需要安装的位置, 如:  D:\mysql5.7.19; 2. 在安装文件夹下找到 my-default.ini 配置文件, 将其重命名为 my.ini , 打开进行编辑, ...

  9. Nexus启动失败处理:The nexus service was launched, but failed to start.

    升级了JDK为1.8后,Nexus启动就失败了: C:\WINDOWS\system32>nexus restart wrapper  | The nexus service was not r ...

  10. mysql创建服务失败_mysql服务启动失败

    事情是这样的,我在linux系统下做mysql备份与还原实验.我先是进入mysql,创建一个数据库ds,然后在数据库建了一张innodb表stu,再往表里插入几条数据.因为是做实验只是在验证备份与还原 ...

最新文章

  1. 哪个工具编译java_用什么工具来编译JAVA啊?
  2. systemverilog硬件设计及建模_Chisel引领敏捷硬件开发浪潮
  3. Flutter 构建一个完整的聊天应用程序
  4. 双非硕士毕业4.5年晋级鹅厂T11之葵花宝典
  5. 浅析phpwind9.0之登陆机制
  6. 302状态码_你见过 HTTP 哪些状态码?
  7. ThinkingInJava对this关键字的介绍
  8. php explore im,浏栏器-explore.class.php
  9. Redis:复制,第2部分——主从复制和Redis哨兵
  10. 接口类的多继承以及抽象类的单继承
  11. 如何在IOS平台上使用js直接调用OC方法
  12. 视频投屏技术原理分享
  13. html5时间线图片自动轮播,JS实现简易图片自动轮播
  14. Tesseract训练中文字体识别(转)
  15. ChatGPT官宣数学能力再升级,网友:终于精通十以内加减法了
  16. 访问局域网计算机切换用户,图解“访问局域网中的电脑时提示输入帐号和密码”...
  17. tomcat8.5集群修改端口,发生临时 dns 错误,请尝试刷新页面
  18. 机器视觉硬件——工业相机
  19. 问题解决: ValueError: Can't Handle mix of binary and continuous
  20. 正好股票简述题材股能否会全面开花

热门文章

  1. 第二节 数值、字符与字符串
  2. 高反差保留滤镜学习OpenCV:滤镜系列(11)——高反差保留
  3. [转载] Ajax中使用Response.Write输出javascript脚本出错的解决办法
  4. Conda更新失败:SSL错误:[SSL:CERTIFICATE_VERIFY_FAILED]证书验证失败
  5. 20200713每日一句
  6. 20191006每日一句
  7. 百度和bing的背景肤色图片的保存
  8. Improving your productivity in the Visual Studio Editor
  9. Atitit uke协会产业分类法 艾提拉产业分类法五大类法 目录 1. 配第-克拉克定理概述 产业趋势 有形财物的生产转向无形的服务性生产 1 1.1. 农工商趋势法 1 1.2. 1940年,英
  10. Atitit webdav 原理详细 概念补充 2.WebDAV的优势: 一套自己定义的安全完善的身份验证机制。 穿墙 HTTPS传送数据 使用一个TCP连接传送所有文件 方便的客户端工