fixed issue #26; wrong variable being used for mysql checks
Merge pull request #29 from renderorange/master

fixed issue #26; wrong variable being used for mysql checks