statement has several forms:
SETenables you to assign values to variables that affect the operation of the server or clients. See Section 126.96.36.199, “SET Syntax for Variable Assignment”.
SET CHARACTER SETand
SET NAMESassign values to character set and collation variables associated with the current connection to the server. See Section 188.8.131.52, “SET CHARACTER SET Syntax”, and Section 184.108.40.206, “SET NAMES Syntax”.