mysqlbinlog: Character set '#45' is not a compiled character set and is not specified in the '/usr/s
来源:互联网 发布:美国农业数据 美元指数 编辑:程序博客网 时间:2024/06/06 09:33
我将5.5的二进制日志文件导入到5.6中,然后使用mysqlbinlog查看时报错:
mysqlbinlog -v /download/master1-bin.001025 --stop-position= 713922982 > /download/f.log
mysqlbinlog: Character set '#45' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file
按照网上说的“添加utf8mb4字符集到Index.xml ”
直接复制utf8的配置,改为utf8mb4后,添加到/app/soft/mysql/share/charsets/Index.xml故障解决。
<charset name="utf8mb4">
<family>Unicode</family>
<description>UTF-8 Unicode</description>
<alias>utf-8</alias>
<collation name="utf8_general_ci" id="33">
<flag>primary</flag>
<flag>compiled</flag>
</collation>
<collation name="utf8_bin" id="83">
<flag>binary</flag>
<flag>compiled</flag>
</collation>
</charset>
可是执行还是报错。重启mysql后也还报错。后来,我在mysqlbinlog前加上路径后就好了,( ˇˍˇ )
--本篇文章参考自:http://www.th7.cn/db/mysql/201412/84402.shtml
- mysqlbinlog: Character set '#45' is not a compiled character set and is not specified in the '/usr/s
- mysqlbinlog: Character set '#45' is not a compiled character set and is not specified in the '/usr/s
- mysql: Character set 'utf8mb4' is not a compiled character set and is not specified in the '/usr/sha
- mysql: Character set 'utf8mb4' is not a compiled character set and is not specified in the '/usr/sha
- mysql: Character set 'utf8mb4' is not a compiled character set and is not specified in the '/usr/sha
- Character set 'utf-8' is not a compiled character set and is not specified
- Character set 'utf-8' is not a compiled character set and is not specifie
- Character set 'utf-8' is not a compiled character set and is not specifie
- Character set 'utf8mb4' is not a compiled character set
- mysql登陆数据库的时候报错:mysql: Character set 'utf8' is not a compiled character set and is not specified
- 用innobackupex备份mysql提示 “utf8mb4 is not a compiled character set”?
- [Sybase]Character set conversion is not available between client character set 'iso_1' and server character set 'cp936'.
- RMAN迁移之后问题character set name is not recognized
- COLLATION 'utf8_bin' is not valid for CHARACTER SET 'utf8mb4'
- NLS_LANG is not defined on the client.Character set conversion may cause unexpec
- NLS_LANG is not defined on the client.Character set conversion may cause unexpected results
- [Warning] '--default-character-set' is deprecated and will be removed in a future release
- PL/SQL报错:NLS_LANG is not defined on the client.Character set conversion may cause unexpected results
- Eclipse连接Oracle数据库介绍
- [leetcode] 50. Pow(x, n)
- 关于app预防二次打包
- 详解Xcode 7的视图调试
- Android直接可以使用的AES加密帮助类
- mysqlbinlog: Character set '#45' is not a compiled character set and is not specified in the '/usr/s
- Codeforces 658A Bear and Reverse Radewoosh
- http://imysql.cn/tag/pxc
- 底部切换按钮LuseenBottomNavigation
- android 沉浸模式(状态栏透明 跟随布局颜色)
- HOG:从理论到OpenCV实践
- iOS block从浅到深的学习 以及循环引用的问题
- 在shell下使用mysql方法
- js实现浏览器通知功能