Closed kwhat closed 1 year ago
This is a non-isssue for most people. There was some legacy socket file not owned by mysql in the shared folder and it was hidden in Apples Finder app so I never saw it till I looked on the cli. I love Apple. 🤦
Tip on debugging entry-point:
podman run --rm --user mysql mariadb bash -x -v docker-entrypoint.sh mariadbd
Glad you found it.
VirtioFS is now the default for docker on mac and it doesn't appear to work with the mariadb:10.6 container and I don't understand why.
The
/var/lib/mysql
folder is a shared volume and I am using the default mariadb config shipped with the container which should have set /run/mysqld/mysqld.sock for the socket location so I have no idea whydocker-entrypoint.sh
is using/var/lib/mysql/mysql.sock
. I would try and debug this further butdocker-entrypoint.sh
is pretty convoluted and I can't evenapt-get install vi
in this container so, here we are.