Docker MySql Connection Problem

To be completed by the original poster:

CMS Version

3.34

Installation Method

Docker

Operating System

Ubuntu 22.04

Issue

I have installed the CMS with docker. I modified the config.env with the necessary modification (DB Password, CMS Server name FQDN) . I am not using any special configuration. Then I wanted to start the CMS.

I always ended in an connection problem between the CMS and DB container. I also tried to add the ports to the DB container in yml file. Still the same problem.

  ports:
            - "3306:3306"

I also tried to remove all data from the shared folder and start from the beginning.

The mysql container is not showing any error.
xibo-docker-334-cms-db-1 | Version: ‘5.7.42’ socket: ‘/var/run/mysqld/mysqld.sock’ port: 3306 MySQL Community Server (GPL)

I always get the following Error in the CMS container:

xibo-docker-334-cms-web-1 | MySQL started
xibo-docker-334-cms-web-1 | Configuring MySQL cnf file
xibo-docker-334-cms-web-1 | ERROR 2002 (HY000): Can’t connect to server on ‘mysql’ (115)
xibo-docker-334-cms-web-1 | New install
xibo-docker-334-cms-web-1 | Provisioning Database

Does anybody know a solution for the problem?

1 Like

I am having the same issues with release 3.3.5 on Ubuntu 22.04 LTS.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.