雪花

canal管理

一、canal admin的安装

 1、下载、解压

 2、配置 conf/application.yml

server:
  port: 8089
spring:
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8

spring.datasource:
  address: 127.0.0.1:3306
  database: canal_manager
  username: canal
  password: canal
  driver-class-name: com.mysql.jdbc.Driver
  url: jdbc:mysql://${spring.datasource.address}/${spring.datasource.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  hikari:
    maximum-pool-size: 30
    minimum-idle: 1

canal:
  adminUser: admin
  adminPasswd: admin

 3、初始化源数据,以 root 用户进入 MySQL 命令行,运行初始化 sql 文件:source /usr/local/canal-admin-1.1.4/conf/canal_manager.sql

  

posted @ 2022-03-03 15:59  十色  阅读(86)  评论(0编辑  收藏  举报