Skip to content

mysql error on docker-compose #1

@Adrian-Sanchez

Description

@Adrian-Sanchez

I was getting this error

Can't create/write to file '/var/lib/mysql/is_writable' (Errcode: 13 - Permission denied)

Got it working by adding user to the .yml file

db:
image: mysql:latest
container_name: "cb_database"
user: "1000:50"
...

Only thing is, I don't really know what it does and if its recommended.

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