有没有办法在连接到特定数据库的MySQL (即在mysql> shell中)时将--default-character-set更改为utf8?我试过这样的方法:
mysql> --default-character-set=utf8 database_name但这并不管用。
请帮个忙
发布于 2012-04-11 17:16:45
在/config/database.properties中添加characterEncoding:
connectionProperties.characterEncoding=UTF-8或者在shell中,这个link非常有用。
https://stackoverflow.com/questions/10096620
复制相似问题