Hook up database after 2 hours