error result for DatabaseConnection::new() and friends includes msg String
 - use .map_err(|code| (code, conn.errmsg())) when we have a conn
 - use .map_err(|(code, _msg)| code) to throw away connection error message