一、实验背景 canal有一个参数canal.instance.standby.address可以指定源端数据库的从库为备选数据库,当源端master宕机后,canal仍能指向备库进行同步。 但是发现canal 1.1.4不兼容mariadb的gtid: 当canal instance里指定了gti ...
分类:
数据库 时间:
2021-04-28 11:41:01
阅读次数:
0
1. find . -regex '.*\.c\|.*\.cc' | xargs grep "string" --color --line-number 2. sed -n '5,10p' filename 查看文件的第5行到第10行。 3. grep -o hello test.log | wc ...
分类:
其他好文 时间:
2021-04-27 15:16:42
阅读次数:
0
Egret引擎本身没有任何内存管理策略 这篇文章 非常给力 https://blog.csdn.net/linguifa/article/details/109861434https://blog.csdn.net/shirln/article/details/98210001 https://bl ...
分类:
其他好文 时间:
2021-04-27 15:09:31
阅读次数:
0
syslog=1 maxlog=1 log_warning=1 log_notice=1 log_info=1 log_augmentation=1 logdir=/var/log/ ...
分类:
数据库 时间:
2021-04-27 15:05:07
阅读次数:
0
原文:https://www.cnblogs.com/powerwu/articles/12978664.html 偶然看到一条命令可以获取访问者的真实 IP,就想自己实现一下。 命令如下: curl icanhazip.com 我是用的 Java 程序 + Nginx 实现的,没什么难度,但是 N ...
分类:
编程语言 时间:
2021-04-27 14:56:07
阅读次数:
0
已经有数据库,做主从复制 服务器 备注 数据库 192.168.137.6 Master 有2个数据库,不同步mysql数据库 192.168.137.3 Slave 没有数据库 Master操作 [mysqld] #############better########### log-bin = / ...
分类:
数据库 时间:
2021-04-27 14:50:54
阅读次数:
0
问题展示: 日志: 2021-04-26T09:43:56.648483019Z 2021-04-26T09:43:56.648Z FTL/device:plugins:screen:stream 415 [33008167d0032569] Frame producer had an error ...
分类:
移动开发 时间:
2021-04-27 14:38:58
阅读次数:
0
select a.id,a.userid,c.openid from ko_answer_score a left join (select userid from ko_answer_log where answer_time > '2018-02-24 00:00:00' and answer_ ...
分类:
其他好文 时间:
2021-04-27 14:38:46
阅读次数:
0
/////////////////////////// 代码如下 <template> <div class="report-forms-page"> <div class="report-forms-main"> <div class="bottomForm"> <div style="margi ...
分类:
其他好文 时间:
2021-04-27 14:31:54
阅读次数:
0
1:添加Nlog的组件 直接在NuGet里面搜索NLog.Web.AspNetCore 2:然后就是配置服务 public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build() ...
分类:
Web程序 时间:
2021-04-27 14:26:50
阅读次数:
0