Move SET NAMES to setSession