fix for mysql commit, missing check config for custom command + typo