I ibrothers Verified User Joined Aug 27, 2008 Messages 7 Aug 10, 2010 #1 I want when I go on and create Database the default is utf-8 where do I change the setting?
B BestBoard Verified User Joined Sep 8, 2006 Messages 177 Aug 11, 2010 #2 edit /etc/my.cnf and add default-character-set = xxx (utf8 in your case)
Scolpy Verified User Joined Feb 25, 2009 Messages 137 Aug 12, 2010 #3 BestBoard said: edit /etc/my.cnf and add default-character-set = xxx (utf8 in your case) Click to expand... He also need to select the collation server. Under [mysqld] section, add those lines: Code: character_set_server = utf8 collation_server = utf8_general_ci then, restart mysqld service(service mysqld restart).
BestBoard said: edit /etc/my.cnf and add default-character-set = xxx (utf8 in your case) Click to expand... He also need to select the collation server. Under [mysqld] section, add those lines: Code: character_set_server = utf8 collation_server = utf8_general_ci then, restart mysqld service(service mysqld restart).