throw an exception with invalid connection config

if there's no driver specified - throw an exception