sudo chkconfig mysqld on 不成功
来源:13-6 线上环境安装配置实操(mysql)
浣玉
2018-05-14
输入sudo chkconfig mysqld on和chkconfig --list mysqld
后,各自显示如下:
[yunyue@iZ2ze9fstvjqgx02nvyip7Z mysql-server-5.7]$ chkconfig mysqld on Note: Forwarding request to 'systemctl enable mysqld.service'. ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files === Authentication is required to manage system service or unit files. Authenticating as: root Password: ==== AUTHENTICATION COMPLETE === ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon === Authentication is required to reload the systemd state. Authenticating as: root Password: ==== AUTHENTICATION COMPLETE === [yunyue@iZ2ze9fstvjqgx02nvyip7Z mysql-server-5.7]$ chkconfig --list mysqld 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]'. error reading information on service mysqld: No such file or directory [yunyue@iZ2ze9fstvjqgx02nvyip7Z mysql-server-5.7]$ chkconfig --list mysqld.service 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]'. error reading information on service mysqld.service: No such file or directory [yunyue@iZ2ze9fstvjqgx02nvyip7Z mysql-server-5.7]$
老师这个怎么解决啊?
写回答
1回答
-
Geely
2018-05-19
再另外一个问答看到你解决了,玉同学·~赞一个!非常棒 用centos7会有一些不一样的,但是你还能坚持住~~
012018-12-06
相似问题