Compare for an exact string match on MySQL detection

The script was having trouble detecting with some change related to the style guide. This does one better by taking the two checks we were doing and combining them into one.