new /mysql json handler in server.js