always create new db with utf8 character set

why doesn’t mysql create db with utf8 character set by default?

It should.

CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;
Like it.? Share it:

Comments are closed.