Skip to content

Missing "mysql" command in the docker image (Debian Bookworm) #26

@Renrhaf

Description

@Renrhaf

When launching the "drush sql:cli" command which is supposed to log in the database & show a prompt, I get the following error on the Debian Bookworm based image :

root@a989d44603d7:/app# drush sql:cli
 [warning] The shell command 'mysql' is required but cannot be found. Please install it and retry.

I think the dependency "mariadb-client" should be included in the base image, so that we don't need to customize the Dockerfile for this basic need. What do you think ? I'll prepare a PR right away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions