MySQL: unicode in console by default
Recently I became tired of typing set names utf8 at the beginning of each MySQL console session. Google search quickly suggested a solution: just add
[mysql]
default-character-set=utf8
to the ~/.my.cnf file.
April 29, 2009 at 17:02
good solution, before i use this:
[mysql]
init_connect=”SET NAMES ‘utf8′”
May 24, 2009 at 00:38
Welcome to the 21st century