Start to get database connection