Mysqld Service failed to start, Failed to restart Mysqld.service:Unit not found.

Source: Internet
Author: User

-bash-4.2# Service mysqld Restart
Redirecting To/bin/systemctl restart Mysqld.service
Failed to restart Mysqld.service:Unit not found.

There is no mysqld service,

-bash-4.2# -bash-4.2# chkconfig-List-list:unknown Option-bash-4.2# Chkconfig--listnote:this output shows SysV services only and does not include native SYSTEMD services.      SysV configuration data might is 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]'. Aegis0: Off1: Off2: On3: On4: On5: On6: Offagentwatch0: Off1: Off2: On3: On4: On5: On6: Offiprdump0: Off1: Off2: On3: On4: On5: On6: Offiprinit0: Off1: Off2: On3: On4: On5: On6: Offiprupdate0: Off1: Off2: On3: On4: On5: On6: Offjexec0: Off1: On2: On3: On4: On5: On6: Offmysql.server0: Off1: Off2: On3: On4: On5: On6: Offnetconsole0: Off1: Off2: Off3: Off4: Off5: Off6: Offnetwork0: Off1: Off2: On3: On4: On5: On6: Off

Visible, the service name is not mysqld but Mysql.server

So:

-bash-4.2# Service Mysql.server Restart
Shutting down MySQL .... [OK]
Starting MySQL. [OK]

Mysqld Service failed to start, Failed to restart Mysqld.service:Unit not found.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.