windows子系统Centos7中安装mysql启动报错:Failed to get D-Bus connection: Operation not permitted
具体安装方法请参照Centos安装Mysql:http://luomuren.top/articles/2021/04/06/1617639719459.html
本文主要记录安装过程中出现的问题
-
启动mysql时报错:
Failed to get D-Bus connection: Operation not permitted
解决方法:原文地址
mv /usr/bin/systemctl /usr/bin/systemctl.old curl https://github.com/gdraheim/docker-systemctl-replacement/blob/master/files/docker/systemctl.py > /usr/bin/systemctl chmod +x /usr/bin/systemctl
第二行备份地址:https://github.com/luomuren/docker-systemctl-replacement/blob/master/files/docker/systemctl.py
如果第二行执行后还是报错,可将文件内容拷贝后粘贴到systemctl中
标题:windows子系统Centos7中安装mysql启动报错:Failed to get D-Bus connection: Operation not permitted
作者:luomuren
地址:http://luomuren.top/articles/2021/05/13/1620870934011.html