inspect-mysql

This logic probably doesn't belong here - perhaps make it the calling function's responsibility to determine when to invoke