Only mysql accept set names charset

Only mysql accept this query:
set names utf8;