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?