Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql change database charset and collation

ALTER DATABASE databasename CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE tablename CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #change #database #charset #collation
ADD COMMENT
Topic
Name
4+5 =