Archive for the 'MySQL' Category

MySQL: unicode in console by default

April 29, 2009

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.