start mariadb.servicesystemctl start mysqlFailed to start mysql.service: Unit mysql.service not found.Failed to enable已安装mariadb-server:
dnf install mariadb-server Package mysql
在我的Dockerfile中,我正在尝试安装多个服务,并希望在启动容器时自动启动它们。其中一个服务是mysql,当我启动容器时,我没有看到mysql服务启动。当我尝试手动启动时,我得到错误:Failed to get D-Bus connection: Operation not permitted Dockerfile: FROM centos:7
RUNDocker运行: d
我已经在我的centos7.9机器上安装了mysql-community-server,它的服务没有启动,并且在启动服务时出现错误,因为我也无法运行mysql_secure_installation脚本以下是我在启动服务时遇到的错误Job for mysqld.service failed because the control process exited[mysqld]# R