yobasystems / alpine-mariadb

MariaDB running on Alpine Linux [Docker]
https://hub.docker.com/r/yobasystems/alpine-mariadb/
242 stars 72 forks source link

views are not granted to default user #31

Closed MartinMuzatko closed 4 years ago

MartinMuzatko commented 5 years ago

When creating a DB using init scripts, the TABLEs can be accessed by the user created with environment variables. However, the VIEWs are not accessible.

Can someone reproduce this?

Thanks!

MartinMuzatko commented 5 years ago

I found the problem, it was related to how the initdb scripts are executed. I documented that here already: #29

However, if I use the USE statement, the privileges are not assigned correctly.

dominictayloruk commented 5 years ago

I can't reproduce, although i'm not entirely sure i understand you.

dominictayloruk commented 4 years ago

Did you manage to resolve the issue?

MartinMuzatko commented 4 years ago

I can't remember actually that much, but looks like we don't have that problem anymore. I'll open again when I have a reproducible build. 👍 thanks