mysql change database charset and collation

Solutions on MaxInterview for mysql change database charset and collation by the best coders in the world

showing results for - "mysql change database charset and collation"
Marco
23 Jun 2017
1ALTER DATABASE databasename CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
2ALTER TABLE tablename CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
3