Reputation: 353
When I want to change MySQL-Charset from utf8 (utf8_general_ci) to utf8mb4 (utf8_unicode_ci) with PHPMyAdmin, it is sufficient when I do these things?
Is this correct or is something missing what to to? Where can occur any problems?
Upvotes: 0
Views: 10339
Reputation: 261
all coalition the same:
if You want avoid feature mistakes with string functions by mix coalition, good also set default coalition for server:
edit my.cnf (my.ini):
[mysqld]
collation-server = utf8mb4_unicode_ci
init-connect='SET NAMES utf8mb4'
character-set-server = utf8mb4
because if You create new tables in feature not manual, but for from script - it create all new tables with default for server settings, and string function may stop work properly
Upvotes: 4