Changed code to appease the new node-mysql API (it bitches at you to do this in the app log, due to a deprecated method).