MySQL connection character set problems

佐手、 提交于 2019-12-06 01:27:37

There's a command line flag for MySQL to set character set. You could try that? --default-character-set=utf8

I found out that MySQL will always use the default character set when connecting as root. But it works OK for limited users (something I should have been doing from the beginning).

This "feature" seems to be Linux specific. At least it doesn't happen in OS X.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!