pass db entry only from config array on getConnection()