inspect-mysql

function has a lot of string logic in it, should extract that to get unit tests around it.