Skip to content

Is it possible to create more than one database when init container? #286

@EKwongChum

Description

@EKwongChum

While we use this resposity's image mysql-57-centos7 ,we want to create more than one database when init container. Is it possible to run some commands like

docker container run --detach --name mysql_database -e MYSQL_USER=myuser -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db1,db2,db3 -p 3306:3306 mysql-57-centos7:latest

to create three databases: db1, db2 and db3 when init container?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions