参考连接:https://help.kingbase.com.cn/v8/development/develop-transfer/transplant-mysql/transplant-mysql-3.html
create user qkl_dev password 'xxxxxx';
create database digitalone_dev owner qkl_dev;
qkl_dev
用户grant all on database digitalone_dev to qkl_dev ;
cd /opt/Kingbase/ES/V8/ClientTools/guitools/KDts/KDTS-WEB/bin
./startup.sh
浏览器访问:http://服务器ip:8080
用户名:kingbase
密码:kingbase
# 默认是填充的
数据源管理 --> 源数据库 --> 新建 --> 填写连接信息 – > 确定(确定前建议点击测试
,避免连接有问题)
数据源管理 --> 源数据库 --> 新建 --> 填写连接信息 – > 确定 (连接名称不能重复)
迁移任务管理 – > 迁移任务 --> 新建 --> 选择相关信息 --> 选择模式 --> 选择迁移对象(点击红框可选择不迁移哪些表) --> 参数配置(自行选择) --> 保存/保存并迁移
区别:
union select “bdc_request_statistics_zm”.“id”union select “bdc_request_statistics_zm”.“id”::numeric(32,0)
CREATE OR REPLACE VIEW "v_bdc_request_statistics_total" AS select "bdc_request_statistics_bjgc"."id" AS "id","bdc_request_statistics_bjgc"."qxdm" AS "qxdm","bdc_request_statistics_bjgc"."djjg" AS "djjg","bdc_request_statistics_bjgc"."count" AS "count","bdc_request_statistics_bjgc"."cjsj" AS "cjsj","bdc_request_statistics_bjgc"."jkdm" AS "jkdm",'BJGC' AS "src" from "bdc_request_statistics_bjgc" union select "bdc_request_statistics_xzxx"."id" AS "id","bdc_request_statistics_xzxx"."qxdm" AS "qxdm","bdc_request_statistics_xzxx"."djjg" AS "djjg","bdc_request_statistics_xzxx"."count" AS "count","bdc_request_statistics_xzxx"."cjsj" AS "cjsj","bdc_request_statistics_xzxx"."jkdm" AS "jkdm",'XZXX' AS "src" from "bdc_request_statistics_xzxx" union select "bdc_request_statistics_zm"."id"::numeric(32,0) AS "id","bdc_request_statistics_zm"."qxdm" AS "qxdm","bdc_request_statistics_zm"."djjg" AS "djjg","bdc_request_statistics_zm"."count" AS "count","bdc_request_statistics_zm"."cjsj" AS "cjsj","bdc_request_statistics_zm"."jkdm" AS "jkdm",'ZM' AS "src" from "bdc_request_statistics_zm" union select "bdc_request_statistics_zs"."id" AS "id","bdc_request_statistics_zs"."qxdm" AS "qxdm","bdc_request_statistics_zs"."djjg" AS "djjg","bdc_request_statistics_zs"."count" AS "count","bdc_request_statistics_zs"."cjsj" AS "cjsj","bdc_request_statistics_zs"."jkdm" AS "jkdm",'ZS' AS "src" from "bdc_request_statistics_zs" union select "bdc_request_statistics_zs_zx"."id" AS "id","bdc_request_statistics_zs_zx"."qxdm" AS "qxdm","bdc_request_statistics_zs_zx"."djjg" AS "djjg","bdc_request_statistics_zs_zx"."count" AS "count","bdc_request_statistics_zs_zx"."cjsj" AS "cjsj","bdc_request_statistics_zs_zx"."jkdm" AS "jkdm",'ZSZX' AS "src" from "bdc_request_statistics_zs_zx" union select "bdc_request_statistics_zm_zx"."id" AS "id","bdc_request_statistics_zm_zx"."qxdm" AS "qxdm","bdc_request_statistics_zm_zx"."djjg" AS "djjg","bdc_request_statistics_zm_zx"."count" AS "count","bdc_request_statistics_zm_zx"."cjsj" AS "cjsj","bdc_request_statistics_zm_zx"."jkdm" AS "jkdm",'ZMZX' AS "src" from "bdc_request_statistics_zm_zx"