【已解决】 doris 2.0.4创建MySQL数据源成功,但无法查询数据

Viewed 42

create table mysql_test_flink1(
id int,
name varchar(100),
age int
) ENGINE=mysql
PROPERTIES (
"host" = "xxx.xxx.xxx.xxx",
"port" = "3306",
"user" = "adaamin",
"password" = "saaa",
"database" = "test1",
"table" = "test_flink")

我创建MySQL引擎外部表,然后执行select * from mysql_test_flink1;

提示我需要编译,很奇怪,有没有配置参数能够把这个打开?我看文档里面没说需要提前编译加上这个功能,麻烦各位大佬帮忙看一下

1 Answers