Posts match “ mysql ” tag:

ubuntu下mysql字符集设置错误

原来在rhel下设置了

character-set-server = utf8

但在ubuntu下不起作用,报错:

mysql: unknown variable 'character-set-server=utf8'

换为以下设置解决问题:

default-character-set = utf8