fix mysql entrypoint to reset owner for data and logs directories