How to get mysqld.sock be in the pod environment without a volume? #22129
Unanswered
DevDorrejo
asked this question in
Q&A
Replies: 2 comments 5 replies
-
consider |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you want to share mysql from the host into the container, then you need to use a volume. If you want to have all containers within the Pod see the same mysql socket, then you have to place the socket on a shared volume. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to setup koha-community in a container for a library, but while trying to connect to the database while everything is in a pod, it will fail if try to connect with the next structure:
mysql -h db_koha -u koha -p
, When executed, it will fail asking for mysqld.socket.So, how can i expose mysqld.socket to the pod?
i run mariadb + temporal ubuntu container.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions