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

QUESTION: Is there any support for oracle db connection over service name? #528

Closed
mustafaguven opened this issue Mar 27, 2023 · 4 comments
Labels
Released in BETA solved Pushed into GIT, but not yet released (after release issue will be closed)

Comments

@mustafaguven
Copy link

Details:
I want to connect to oracle db with service name but could not find any way to get connected. Is there a way to do that or such feature not supporting yet?

the url pattern is like below

jdbc:oracle:thin:@//111.111.111.111:1521/service_name

Version Information [might be relevant to your issue]
Operating System:
web browser

@isauran
Copy link

isauran commented Mar 29, 2023

same problem

rinie/dbgate-plugin-oracle#1

@rinie
Copy link
Contributor

rinie commented May 14, 2023

In

connectString: useDatabaseUrl ? databaseUrl : port ? `${server}:${port}` : server,

connectString: useDatabaseUrl ? databaseUrl : port ? ${server}:${port} : server
Is used
https://node-oracledb.readthedocs.io/en/latest/user_guide/connection_handling.html#connection-strings

Suggests connectString : "mydbmachine.example.com:1521/orclpdb1"
So instead of databaseUrl:port, databaseUrl could be used?

@janproch
Copy link
Member

janproch commented Jun 1, 2024

Service name is supported in latest BETA

https://github.com/dbgate/dbgate/releases/tag/v5.2.10-beta.2

or you can use databaseUrl, mydbmachine.example.com:1521/orclpdb1
It is fixed now, username and password is required for db url

@janproch janproch added solved Pushed into GIT, but not yet released (after release issue will be closed) Released in BETA labels Jun 1, 2024
@rinie
Copy link
Contributor

rinie commented Jun 2, 2024 via email

@janproch janproch closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released in BETA solved Pushed into GIT, but not yet released (after release issue will be closed)
Projects
None yet
Development

No branches or pull requests

4 participants