-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Canal Admin QuickStart
agapple edited this page Aug 31, 2019
·
8 revisions
-
导入mysql脚本:canal-admin/canal_manager.sql
-
在 canal-admin.jar的同级目录下创建application.yml配置:
server:
port: 8089
spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
spring.datasource:
url: jdbc:mysql://127.0.0.1:3306/canal_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: root
password: 121212
driver-class-name: com.mysql.jdbc.Driver
hikari:
maximum-pool-size: 10
minimum-idle: 1
并修改对应的数据源
- 启动canal-admin:
java -jar canal-admin.jar
访问地址:http://ip:8089/index.html 即可访问
- 修改canal-server的配置, canal.properties:
#################################################
######### common argument #############
#################################################
#canal.manager.jdbc.url=jdbc:mysql://127.0.0.1:3306/canal_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false
#canal.manager.jdbc.username=root
#canal.manager.jdbc.password=121212
只保留数据源配置即可
- Home
- Introduction / 简介
- Quick Start
- Client Guide
- Canal Admin
- Canal Performance
- AdminGuide
- DevGuide
- BinlogChange(Mysql5.6)
- BinlogChange(MariaDB)
- BinlogChange(MySQL8)
- TableMetaTSDB
- ReleaseNotes
- Download
- FAQ / 常见问题解答