Added ability to statically query mySQL