Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing enviromental variables in run time #290

Open
grinono opened this issue Aug 1, 2024 · 1 comment
Open

Missing enviromental variables in run time #290

grinono opened this issue Aug 1, 2024 · 1 comment

Comments

@grinono
Copy link

grinono commented Aug 1, 2024

I'm having an environmental vars issue.

I run the docker image in kubernetes with the envs like MYSQL_HOST configured.
when in running in shell > echo $MYSQL_HOST is returns the right value but the logs of the machine show >

�mysqladmin: connect to server at '' failed 2024-08-01T13:38:09.542655996Z error: 'Can't connect to server on 'localhost' (111)' 2024-08-01T13:38:09.542661436Z Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists!

i assume '' means the env's like MYSQL_HOST are not picked up. How to resolve this?

@gabrielrufino
Copy link

Same problem :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants