【 使用环境 】生产环境
【 OMS 】
【 使用版本 】OBServer 3.1.4 OMS 4.0
【问题描述】想问下oms 4.0中mysql_to_obmysql.collation.mapping参数如何设置,能否举个例子
一个例子
{
"mysql_to_obmysql.collation.mapping":[
{
"collation":"gb2312_chinese_ci",
"mappedCollation":"gb18030_chinese_ci"
},
{
"collation":"*",
"mappedCollation":"utf8mb4_general_ci"
}
],
"mysql_to_obmysql.charset.mapping":[
{
"charset":"gb2312",
"mappedCharset":"gb18030"
},
{
"charset":"*",
"mappedCharset":"utf8mb4"
}
]
}