utf-8 encoded into mySql

MySQL initialize
character set: The default character set for Latin English Latin1 (Iso-8859-1 English characters
we wanted to change utf8 [Unicode]
or GBK, GB2312
find files MySQL installation folder, locate the my.ini configuration file, for example:
D : \ Program files \ MySQL \ MySQL Server 5.5 \ my.ini configuration file

port = 3306 (<- if the port 3306)

[MySQL]
The following changes inside my.ini two places:
default-Character-SET = UTF8 (<- latin1 into the UTF8)

#The default character set that will be used when a new schema or table is
#created and no character set is defined
character-set-server=utf8 (<–把这里改成utf8)

Published 34 original articles · won praise 7 · views 2190

Guess you like

Origin blog.csdn.net/qq_37717494/article/details/104565433