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.
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.