change MySQL server, insert function added