Internal wrapper for the great mysql module: promises, logging, binding