2023-09-06 16:42:04 +08:00
|
|
|
CREATE CONNECTOR pg_local;
|
|
|
|
|
|
|
|
CREATE CONNECTOR IF NOT EXISTS mysql_local;
|
|
|
|
|
|
|
|
CREATE CONNECTOR pg_local TYPE 'mysql';
|
|
|
|
|
|
|
|
CREATE CONNECTOR IF NOT EXISTS mysql_local
|
|
|
|
TYPE 'mysql';
|
|
|
|
|
|
|
|
CREATE CONNECTOR pg_local TYPE 'mysql' URL 'jdbc:mysql://localhost:5432';
|
|
|
|
|
2023-07-06 17:28:43 +08:00
|
|
|
CREATE CONNECTOR IF NOT EXISTS mysql_local
|
|
|
|
TYPE 'mysql'
|
|
|
|
URL 'jdbc:mysql://localhost:5432';
|
|
|
|
|
2023-09-06 16:42:04 +08:00
|
|
|
CREATE CONNECTOR pg_local TYPE 'mysql' URL 'jdbc:mysql://localhost:5432' COMMENT '这是一个 postgres 连接器';
|
|
|
|
|
|
|
|
CREATE CONNECTOR pg_local
|
|
|
|
TYPE 'postgres'
|
|
|
|
URL 'jdbc:postgresql://localhost:5432'
|
|
|
|
COMMENT '这是一个 postgres 连接器';
|
|
|
|
|
|
|
|
CREATE CONNECTOR pg_local TYPE 'mysql' URL 'jdbc:mysql://localhost:5432' COMMENT '这是一个 postgres 连接器'
|
|
|
|
WITH DCPROPERTIES ("hive.sql.dbcp.username"="postgres", "hive.sql.dbcp.password"="postgres");
|
|
|
|
|
2023-07-06 17:28:43 +08:00
|
|
|
CREATE CONNECTOR pg_local
|
|
|
|
TYPE 'postgres'
|
|
|
|
URL 'jdbc:postgresql://localhost:5432'
|
|
|
|
COMMENT '这是一个 postgres 连接器'
|
|
|
|
WITH DCPROPERTIES ("hive.sql.dbcp.username"="postgres", "hive.sql.dbcp.password"="postgres");
|