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

Cannot customize cql default port? #3

Open
1 of 2 tasks
ricemaster opened this issue Oct 15, 2020 · 0 comments
Open
1 of 2 tasks

Cannot customize cql default port? #3

ricemaster opened this issue Oct 15, 2020 · 0 comments

Comments

@ricemaster
Copy link

I'm submitting a ...

  • bug report
  • feature request

Describe the issue
Hi guys,

Following the README

String jdbcUrl = "jdbc:postgresql://127.0.0.1:5433/yugabyte";
YBClusterAwareDataSource ds = new YBClusterAwareDataSource(jdbcUrl);

I can change the default sql port 5433 by modify the jdbcUrl, but it shows errors because the jdbc kept trying to connect default cql port 9042 while I'm using a different port for Cassandra like 19042.

Is there any way to customize cql default port?

Driver Version?

<dependency>
    <groupId>com.yugabyte</groupId>
    <artifactId>jdbc-yugabytedb</artifactId>
    <version>42.2.7-yb-3-SNAPSHOT</version>
</dependency> 

Java Version?
1.8

OS Version?
CentOS 7

PostgreSQL Version?
11

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

1 participant