Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
276 views
in Technique[技术] by (71.8m points)

linux - Prestodb cli Oracle Conenction - need help -Error running command: Authentication failed: Unauthorized

Can presto installed in one instance query data from Oracle installed in another instance ??

Steps executed

Had Oracle in windows instance .

I have installed Presto in a linux server ,

* config.properties :
coordinator=true
node-scheduler.include-coordinator=true
http-server.http.port=8080
query.max-memory=10GB
query.max-memory-per-node=1GB
discovery-server.enabled=true
discovery.uri=http://localhost:8080

Created a catalog "oracle.properties " with the valid connection details placed it in : /root/Presto/presto-server-0.245.1/etc/catalog

connector.name=oracle
connection-url=jdbc:oracle:thin:@3.2.2.2:1521/Databasename
connection-user=Username
connection-password=Passowrd

I have placed the cli jar in bin : made it executable chmod +x presto

Launched presto : bin/launcher start

started at 28562 Use command to run cli :

presto --server localhost:8080 --catalog oracle --schema Databasename

Cli is started ,

presto:Databasename>

But when a query is executed it is showing error Error running command: Authentication failed: Unauthorized All the details entered in the oracle.properties are valid . Any suggestion is appreciated , Thanks .

question from:https://stackoverflow.com/questions/65844150/prestodb-cli-oracle-conenction-need-help-error-running-command-authenticatio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...