fix condition checking in mysql entrypoint.sh file