当前位置:网站首页>OGG-21.3 报错 OGG-00768 Failed to Map database character to ULibCharSet
OGG-21.3 报错 OGG-00768 Failed to Map database character to ULibCharSet
2022-06-21 17:50:00 【大大刺猬】
因为没有直接在官网和其它地方找到答案, 所以记录一下.
场景
源端: MYSQL 8.0.29
目标端 MYSQL 5.7.38
工具 : OGG 21.3
报错现象
启动抽取进程 Extract的时候报的错
2022-06-21 16:22:26 INFO OGG-01680 Please ensure the environment variable TZ is set to match the database time zone as timestamp in MySQL depends upon correct setting of TZ.
Source Context :
SourceModule : [ggdb.mysql.util]
SourceID : [../gglib/ggdbmysql/mysqlutil.c]
SourceMethod : [MYSQLUTIL_check_err]
SourceLine : [560]
ThreadBacktrace : [15] elements
: [/root/ogg/libgglog.so(CMessageContext::AddThreadContext())]
: [/root/ogg/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...))]
: [/root/ogg/libgglog.so(_MSG_String_UInt32_String(CSourceContext*, int, char const*, unsigned int, char const*, CMessageFactory::MessageDisposition))]
: [/root/ogg/extract(MYSQLUTIL_check_err(short, char const*, ...))]
: [/root/ogg/extract(MYSQLUTIL_get_database_charset())]
: [/root/ogg/extract(DBUTIL_getDatabaseMetadata(ggs::gglib::ggunicode::UString const*, ggs::gglib::ggapp::CDatabaseMetadata const**, ggs::gglib::ggunicode::UString&))]
: [/root/ogg/extract(gl_odbc_param(char const*, char const*, char (&) [2048]))]
: [/root/ogg/extract(get_infile_params(ggs::gglib::ggapp::ReplicationContextParams&, ggs::gglib::ggdatasource::DataSourceParams&, ggs::gglib::ggdatatarget::DataTargetParams&, ggs::gglib::ggmetadata::MetadataContext&))]
: [/root/ogg/extract()]
: [/root/ogg/extract(ggs::gglib::MultiThreading::MainThread::ExecMain())]
: [/root/ogg/extract(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::ThreadArgs*))]
: [/root/ogg/extract(ggs::gglib::MultiThreading::MainThread::Run(int, char**))]
: [/root/ogg/extract(main)]
: [/lib64/libc.so.6(__libc_start_main)]
: [/root/ogg/extract()]
2022-06-21 16:22:26 ERROR OGG-00768 Failed to Map database character to ULibCharSet. SQL error (0).
2022-06-21 16:22:26 ERROR OGG-01668 PROCESS ABENDING分析
咋一看以为是字符集的问题, 于是查询官网错误码
OGG-00768: {0}. SQL error ({1,number,0}). {2}
Cause: This is a generic error message and there can be multiple reasons for it. One reason could be that a query to set the session timeout failed. Ignoring this message results in the session being disconnected after a default time period if the connection has been idle. This error message also is used when an operation against the database fails, such as a query.
Action: To resolve this error, verify in the database why the query or other operation would fail. For example, verify that the user that executed the operation has the correct privileges to do so.
官网的意思就是连接的时候的问题, 比如超时之类的.
本次环境和超时没有关系, 超时参数设置都很大.
那就是连接的问题了, 比如密码插件之类的(很遗憾插件改为mysql_native_password还是相同的报错)
解决问题
源端数据库版本换成 5.7.38之后正常了.
严格来说不算解决问题, 因为已经换了数据库版本了. 具体原因得等各位大佬来解决(^_^)
边栏推荐
- Unity3D-后期处理 Post-process Volume Profile
- 【Go语言】Go语言我们应该这样学~全网较全的学习教程
- 蓝色SVG波浪动态网页背景
- 外资上演“胜利大逃亡”、内资接盘,新东方在线“方”了?
- 使用uniapp框架搭建浙里办微应用(单点登录、埋点、适老化、RPC网关)
- GoF模式-03-行为型模式(下)
- Cache design issues
- Must the database primary key be self incremented? What scenarios do not suggest self augmentation?
- R language various logistic regression common conditions iptw
- 《Go题库·9》同一个协程里面,对无缓冲channel同时发送和接收数据有什么问题
猜你喜欢

MarkDown初级语法一文精通,兼容MarkText

After Hongmeng, Huawei announced that it would donate to Euler again. What impact is expected to be brought to the industry by the donations of Hongmeng and Euler?

Servlet学习(二)

SVG左上角全屏菜单动画效果展开

ACL 2022 | 基于自监督图对齐的多语言知识图谱推理

Listener and filter (monitor and interceptor) in Servlet

De « l'entreprise gérée par le village » au « Groupe de 10 milliards de yuans », comment l'industrie Hongxing complète - t - elle le « changement de papillon »?

Second cloud's original fully compatible solution for Xinchuang is upgraded to help accelerate the implementation of Xinchuang industry

Canvas动态网状背景js特效

蓝色SVG波浪动态网页背景
随机推荐
Canvas sphere particle changing color JS special effect
南信大2020-2021第一学期FPGA/CPLD期末试卷
MarkDown初级语法一文精通,兼容MarkText
【艾思软件】微信小程序开发报价方案模版
How to apply for SSL certificate using IP
昇腾科研创新使能计划赋能开发者  华为计算提供三大维度支持
文献分析 Citespace 6.1.2 下载及安装教程
Canvas dynamic background text luminous JS effect
Canvas interactive color gradient JS special effect code
From "village run enterprise" to "ten billion group", why did red star industry complete the "butterfly transformation"?
JDBC编程六步
vivo 容器集群监控系统架构与实践
删除指定的screen
这篇寒门博士论文致谢火了:回首望过去,可怜无数山
C# Mapster 对象映射器学习
Nebula Graph入驻阿里云计算巢,助力企业打造云上超大规模图数据库
Mvcc implementation principle of MySQL
homeassistant addons
MarkDown高级语法,兼容MarkText
6月22日直播 | 华南理工詹志辉: 面向昂贵优化的进化计算