015_Java_ES

[root@izwz920kp0myp15p982vp4z /]# vim /etc/my.cnf
[root@izwz920kp0myp15p982vp4z /]# systemctl restart mysqld
[root@izwz920kp0myp15p982vp4z /]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.30-log MySQL Community Server (GPL)

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> CREATE USER canal IDENTIFIED BY 'canal';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT SELECT, REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'canal'@'%';
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql>exit
Bye
[root@izwz920kp0myp15p982vp4z /]#
[root@izwz920kp0myp15p982vp4z /]# cd /usr/local/software/
[root@izwz920kp0myp15p982vp4z software]# mkdir canal
[root@izwz920kp0myp15p982vp4z software]# cd canal/
[root@izwz920kp0myp15p982vp4z canal]# wget https://github.com/alibaba/canal/releases/download/canal-1.1.4/canal.deployer-1.1.4.tar.gz

待处理

适配7.xES 基于 high level HTTP REST ful 客户端开发的

springboot 整合 es

官网的 API,包含 HTTP 和 TCP

Jest 入门

Canal 同步数据库


   转载规则


《015_Java_ES》 阿钟 采用 知识共享署名 4.0 国际许可协议 进行许可。
  目录