Added unauthorized mysql check - some debugging in as interested as to what Travis is doing (its something weird)