Failed to issue method call: Unit mysqld.service failed to load: No such file or directory.
发布日期:2021-08-17 00:51:52 浏览次数:1 分类:技术文章

本文共 1369 字,大约阅读时间需要 4 分钟。

国内私募机构九鼎控股打造APP,来就送 20元现金领取地址:

内部邀请码:C8E245J (不写邀请码,没有现金送)
国内私募机构九鼎控股打造,九鼎投资是在全国股份转让系统挂牌的公众公司,股票代码为430719,为中国PE第一股,市值超1000亿元。 

------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

可能的原因:

1、http://blog.sina.com.cn/s/blog_4692ea0a0101jqhz.html

2、http://diag.5ustore.com/proxy/index.php?url=1J1h12y31F1b1918yLyByU1FyNyjyD101z1612yo1C1cyc1sy3yc1yyN161611yY0RyiyiyJyY1hymylyj1hyL1gyS1LyWyR1Myhyk0VyMylyvyg0j1j1D1F1k18171r1P1HyuyI1DyNyB1zynyK1yyZyT1y1j1Fyd0Kyj1tyN1xya

 

自己遇到的问题,时 stackoverflow

mysqld.service is a "virtual" unit – it doesn't exist on the filesystem, it's just part of systemd's compatibility layer. You can start it and systemd will run the legacy /etc/rc.d/mysqld initscript, but you cannot systemctl enable it because you need a real .service file which could be symlinked into the proper place.

You can write such a unit yourself and put it in /etc/systemd/system/mysqld.service:

[Unit]Description=MySQL ServerAfter=network.target[Service]ExecStart=/usr/bin/mysqld --defaults-file=/etc/mysql/my.cnf --datadir=/var/lib/mysql --socket=/var/run/mysqld/mysqld.sockUser=mysqlGroup=mysqlWorkingDirectory=/usr[Install]WantedBy=multi-user.target

Run systemctl daemon-reload after creating/modifying.

转载于:https://www.cnblogs.com/AloneSword/p/3925470.html

转载地址:https://blog.csdn.net/weixin_30825199/article/details/99150445 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:诡异的 "密码取回" 邮件问题
下一篇:波士顿法律第一至五季/全集Boston Legal迅雷下载

发表评论

最新留言

感谢大佬
[***.8.128.20]2024年03月09日 01时04分03秒