Connect to DB finished.