Succeed int connecting the DB and read the data.

Otherwise.Delete some useless codes too.