CREATE DATABASE statement specifies the character set and collation:
mysql> mysql> CREATE DATABASE BookSales -> DEFAULT CHARACTER SET latin1 -> DEFAULT COLLATE latin1_bin; Query OK, 1 row affected (0.00 sec) mysql> mysql> drop database BookSales; Query OK, 0 rows affected (0.01 sec)