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

Connect string with Oracle wallet #329

Closed
bop0hz opened this issue Feb 14, 2019 · 13 comments
Closed

Connect string with Oracle wallet #329

bop0hz opened this issue Feb 14, 2019 · 13 comments
Labels

Comments

@bop0hz
Copy link

bop0hz commented Feb 14, 2019

Hi,

I could not find how to connect with Oracle wallet.
For example, I am able to connect in this way:

sqlplus /@tnsentry

Is it possible to connect with Oracle wallet credentials in go-oci8?

@MichaelS11
Copy link
Contributor

Looking at this:

https://docs.oracle.com/en/cloud/paas/atp-cloud/atpug/connect-preparing.html#GUID-3667EC68-930E-4566-95B3-DFA24203A8FF

I think it should work but do not have wallet setup to test. The connect string would be something like:
username/password@tnsname_entry

@MichaelS11
Copy link
Contributor

@bop0hz Get this figured out? Can this be closed?

@bop0hz
Copy link
Author

bop0hz commented Feb 19, 2019

Actually not yet. I have no user/password with wallet. My connstring is mentioned above.
I looked into the source code and there are no conditions to handle my case..

@MichaelS11
Copy link
Contributor

Or right, of course. Did you try just using the tnsnames entry? If so, what happens?

@MichaelS11
Copy link
Contributor

@bop0hz How did it go?

@bop0hz
Copy link
Author

bop0hz commented Feb 26, 2019

@bop0hz How did it go?

Sorry, Actually I have changed the oracle go driver to another. I will try it again with go-oci8 to get the error.

@cjbj
Copy link

cjbj commented Feb 26, 2019

@bop0hz out of interest, why did you decide to use go-oci8?

@cjbj
Copy link

cjbj commented Feb 26, 2019

Ignore me; too much github email and not enough coffee

@bop0hz
Copy link
Author

bop0hz commented Feb 27, 2019

Or right, of course. Did you try just using the tnsnames entry? If so, what happens?

ORA-01017: invalid username/password; logon denied

@MichaelS11
Copy link
Contributor

Is your sqlnet.ora file setup? What does it look like? Is your tnsnames.ora file setup? What does it look like?

@MichaelS11
Copy link
Contributor

@bop0hz Close this?

@bop0hz
Copy link
Author

bop0hz commented Mar 14, 2019

@bop0hz Close this?

ok, let's close..

@MichaelS11
Copy link
Contributor

If you would like to troubleshoot more, happy to help. Otherwise, can you please close it?

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

No branches or pull requests

3 participants