Closed Rupreht closed 3 years ago
Thank you very much for this contribution. I will have a deeper look at this at the weekend. To help me a bit: Could you give me a short explanation of why this fix is necessary?
@dsteinkopf about the diff with MYSQL_ENV_MYSQL_ROOT_PASSWORD_FILE
, I just check the code, and I think this is just a misspelling in the readme ? no ? ( it is MYSQL_PASSWORD_FILE
? ) . And finally the change in loop is not necessary, but needed in the readme ?
To be honest, I am not sure about this MYSQL_ENV_MYSQL_ROOT_PASSWORD_FILE
. I just remember some Docker mechanism that automatically created and filled this kind of variables. I don't know if it is still useful for anyone to support this. As this script definitely is not very cleaned up or good code - but is still working well - I tend to just leave it and merge this PR.
@dsteinkopf did you have more informations about this "mechanism" ?
Or you are speaking about the function file_env https://github.com/dsteinkopf/backup-all-mysql/blob/master/loop.sh#L9 , and when you call it the env name : https://github.com/dsteinkopf/backup-all-mysql/blob/master/loop.sh#L27 .
That will : read the content of the file MYSQL_PASSWORD
_FILEand set it in the env
MYSQL_PASSWORD` ?
@dsteinkopf did you have more informations about this "mechanism" ?
No. But googleing for MYSQL_ENV_MYSQL_ROOT_PASSWORD gives some results...
Or you are speaking about the function...
No. But thank you for your ideas and your help.