Skip to content

mysql service not coming up for existing data directory mount #370

Closed
@vinaybandakka

Description

@vinaybandakka

I have data directory with couple of schema and about 25 GB of data. Container starts with volume /var/lib/mysql. When exec to container to see services still mysqld not started by entrypoint script. As you see chown command is still running. Even after 3 hours still chown not finished. It it due to 25GB data mount ? I am using mysql:5.7.20

UID PID PPID C STIME TTY TIME CMD
root 1 0 0 07:29 ? 00:00:00 /bin/bash /usr/local/bin/docker-entrypoint.sh mysqld
root 18 1 0 07:29 ? 00:00:00 chown -R mysql:mysql /var/lib/mysql/
root 19 0 0 07:31 ? 00:00:00 bash

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