We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How would I translate the following connection string?
jdbc:oracle:thin:@//127.0.0.1:1522/some.oracle.service-name.org
The text was updated successfully, but these errors were encountered:
For other's looking for a similar thing:
fn connect() -> Result<oracle::Connection, oracle::Error> { let host = "127.0.0.1"; let port = 1522; // custom port value (default is 1521) let service_name = "some.oracle.service-name.org"; let connect_string = format!("//{}:{}/{}", host, port, service_name); println!("CONNECTION STRING = {}", &connect_string); let user = "username"; let password = "password"; oracle::Connection::connect(user, password, connect_string) }
Sorry, something went wrong.
No branches or pull requests
How would I translate the following connection string?
The text was updated successfully, but these errors were encountered: