question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow connecting using a URL

See original GitHub issue

Issue Analytics

  • State:closed
  • Created 13 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
xetorthiocommented, Aug 1, 2012

You can now do:

Jedis jedis = new Jedis("redis://:password@host:port/database");

or

Jedis jedis = new Jedis(new URI("redis://:password@host:port/database"));
0reactions
xetorthiocommented, Feb 28, 2013

Yes and no. You can select a db, but you need to go through all the shards and call select on each shard.

Btw, strange place to ask this question! 😃

On Thu, Feb 28, 2013 at 12:48 AM, k-kanamori notifications@github.comwrote:

Does ShardedJedisInfo support database choice?

— Reply to this email directly or view it on GitHubhttps://github.com/xetorthio/jedis/issues/86#issuecomment-14215299 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building the connection URL - JDBC Driver for SQL Server
Connect to the default database on the local computer by using a user name ... SQL Server allows for the installation of multiple...
Read more >
Establishing a Connection (The Java™ Tutorials > JDBC ...
A database connection URL is a string that your DBMS JDBC driver uses to connect to a database. It can contain information such...
Read more >
Connection URLs (Reference) - Prisma
The connection URL is provided via the url field of a datasource block in your Prisma schema. It generally consists of the following...
Read more >
What happens when you type a URL into your browser? - AWS
After you've typed the URL into your browser and pressed enter, the browser needs to figure out which server on the Internet to...
Read more >
About connection options | Cloud SQL for MySQL
Unless using the Cloud SQL Auth proxy, connections to the public IP address of an instance are allowed only if the connection comes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found