mysql edit

Changed mysql call for generic use.