As mentions in comments, utf8mb4_0900_ai_ci is the new default in MySQL 8.0, so the following is now again a better practice:
CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;Note: The following is now considered a better practice:
CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;CREATE DATABASE mydatabase CHARACTER SET utf8 COLLATE utf8_general_ci;For more information, see Database Character Set and Collation in the MySQL Reference Manual.