title: What's the simplest way to store data from a java program to MySQL?
body: <p>I want to store data in string form to MySQL. I have created the tables in the MySQL.
  I haven't worked with DATABASE ever. Can you please provide me code to store that data in the MySQL DB.
  e.g. Let's say I have a string "stack_overflow" and there is a column "SiteName" in a table "SiteDetails" in the DataBase.
  So how to store the string "stack_overflow" in the column "SiteName".</p>