Skip to content

MariaDB "aborted connection" #166

@yanickvanbarneveld

Description

@yanickvanbarneveld

Hi there,

When starting a project with MariaDB and the VisibleVC, WordPress is stuck on "Waiting to initialize MySQL".

I think it is because MariaDB won't start up, the error I am getting over here is:
2019-11-27 10:59:06 121 [Warning] Aborted connection 121 to db: 'unconnected' user: 'unauthenticated' host: '172.19.0.2' (This connection closed normally without authentication)

My Docker-compose file looks like:

services:
  wordpress:
    image: visiblevc/wordpress:latest
    cap_add:
      - SYS_ADMIN
    devices:
      - /dev/fuse
    security_opt:
      - apparmor:unconfined
    ports:
      - 8080:80
      - 443:443
    environment:
      DB_NAME: wordpress
      DB_PASS: root
      WP_LOCALE: 'nl_NL'
      WP_DEBUG: 'true'
      WP_DEBUG_DISPLAY: 'true'
    volumes:
      - ./../data:/data
      - ./../build/themes:/app/wp-content/themes
      - ./../build/uploads:/app/wp-content/uploads
      - ./../build/plugins:/app/wp-content/plugins
  db:
    image: mariadb:10
    volumes:
      - data:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: root
  phpmyadmin:
    image: phpmyadmin/phpmyadmin
    ports:
      - 8000:80
  mailhog:
    image: mailhog/mailhog
    depends_on:
      - wordpress
    ports:
      - "1025:1025"
      - "8025:8025"
volumes:
  data: null

Anyone have an idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions