1.
CHARACTER SET
2. COLLATE
Function 3.
4.
ENCRYPTION
READ ONLY
ALTER DATABASE databasename alter_option option_value….;
Name of the
Database
OPTIONS DESCRIPTIONS
CHARACTER SET This option allows you to change the default character set of the
database. Example – ascii, utf8, etc.
COLLATE This option allows you to change the collation of the database.
Example – utf8_general_ci
ENCRYPTION This option allows you enable (Y) or disable (N) the default database
encryption.
READ ONLY Using this option you can allow modifications on the database along
with the objects within (0) or make it read only (1).
N.B.: In SQL, collation refers to the set of rules that determine how data is sorted and compared in a
database. It specifies the character set encoding for a particular column or table in a database, as well
as the rules for comparing and sorting characters in that column or table.