Feature: In order to get connnection and release resource in the main function when connecting to the database.
Usage: 1.Write the built-in configuration files against your database. 2.Creat a folder called libs which deposits mysql-connector-java-5.1.37-bin.jar. 3.Paste Utils class 4.Test in the main function.