Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.241 Oracle Connector logon denied #15232

Closed
shigechuanqi opened this issue Sep 28, 2020 · 6 comments
Closed

v0.241 Oracle Connector logon denied #15232

shigechuanqi opened this issue Sep 28, 2020 · 6 comments

Comments

@shigechuanqi
Copy link

After installing and configuring Oracle Connector, the execution query shows "ORA-01017: invalid username/password; logon denied"

public static ConnectionFactory connectionFactory(BaseJdbcConfig config, OracleConfig oracleConfig)

It seems that ORACLE parameters are not processed?

@brokenjacobs
Copy link
Contributor

Seeing the same thing here. Our custom oracle connector from previous versions worked.

@brokenjacobs
Copy link
Contributor

brokenjacobs commented Oct 8, 2020

As a workaround... this worked for me. Change your jdbc uri to this format:
jdbc:oracle:thin:user/password@//<host>[:<port>]/<service>

@shigechuanqi
Copy link
Author

作为解决方法,这对我有用。将您的jdbc uri更改为以下格式:
jdbc:oracle:thin:user/password@//<host>[:<port>]/<service>

Thank you very much.

At present, it is also used in this way

@rahmanmd007
Copy link

I am using Presto 0.265.1 and it is not working for me.
I have tried both:
connector.name=oracle
connection-url=jdbc:oracle:thin:@example.net:1521/ORCLCDB
connection-user=root
connection-password=secret
When I used the above, I get ORA-01017 error
AND when I use the following I get 'Invalid URL Specified' Error. Can someone please help?
connector.name=oracle
connection-url=jdbc:oracle:thin:user/password@//[:]/

@jameskim0987
Copy link

The docs here helped me. http://www.orafaq.com/wiki/JDBC

jdbc:oracle:thin:[<user>/<password>]@//<host>[:<port>]/<service>

@rahmanmd007
Copy link

@jameskim0987 That worked.. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants