mysql proxy 数据库读写分离字符集乱码

mysql proxy 数据库读写分离字符集乱码 

解决办法

在对应配置后端数据库服务器的配置.cnf中加入如下代码

init-connect='SET NAME UTF8'
skip-character-set-client-handshake
character-set-server=utf8

猜你喜欢

转载自www.cnblogs.com/will-xz/p/9884128.html