The reason is that mysql client no longer supports character-set-server parameter. Actually I don't know why, the official ChangeLog doesn't include any explanations. The solution is to disable character-set-server option inside /etc/mysql/my.cnf