Use ENV or connection option if string case succeeds.