MySQL connect: charset flag is stored

MySQL connect: charset flag is stored and passed to backend