Add local DB connection support