【发布时间】:2020-10-11 21:38:31
【问题描述】:
我在做
$ ./launcher run
下面的错误信息是get generate
java.lang.IllegalArgumentException: No factory for connector 'mysql'. Available factories: [memory, kudu, blackhole, kinesis, redis, accumulo, gsheets, raptor-legacy, elasticsearch, jmx, postgresql, redshift, sqlserver, localfile, tpch, iceberg, bigquery, memsql, prometheus, mongodb, example-http, pinot, tpcds, oracle, phoenix, system, cassandra, kafka, atop, hive-hadoop2, presto-thrift]
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:441)
at io.prestosql.connector.ConnectorManager.createCatalog(ConnectorManager.java:185)
at io.prestosql.metadata.StaticCatalogStore.loadCatalog(StaticCatalogStore.java:88)
at io.prestosql.metadata.StaticCatalogStore.loadCatalogs(StaticCatalogStore.java:68)
at io.prestosql.server.Server.doStart(Server.java:117)
at io.prestosql.server.Server.lambda$start$0(Server.java:72)
at io.prestosql.$gen.Presto_336____20200622_041142_1.run(Unknown Source)
at io.prestosql.server.Server.start(Server.java:72)
at io.prestosql.server.PrestoServer.main(PrestoServer.java:39)
这是我的“mysql.properties”文件
connector.name=mysql
connection-url=jdbc:mysql://127.0.0.1:3306
connection-user=root
connection-password=onkar@77
有人可以帮忙吗..拜托
【问题讨论】:
-
我的结构为 etc/catalog/mysql.properties