In our previous post, “Storing Data In Redis With Command Line”, we looked at how to setup a Redis image for cache purposes, and how to connect to it, insert and retrieve data.

In this post we will look at how to use my go-to database tool, JetBrains DataGrip, to view and manage data stored in Redis.

First, download, install and then launch software.

Our next step is to configure it to understand and connect to Redis.

From the main menu, go to the Data Sources menu.

1DataSource

From there, click the Drivers icon:

2Drivers

You will be presented with a list of supported drivers from a number of databases.

3Support

Choose Redis.

Proceed to choose the latest stable version.

4RedisLatest

We then switch to the driver we want to use by clicking the option ‘Switch to ver 1.6.’

5SelectDriver

The screen should now look like this:

6Setup

Now we are ready to connect.

From the main screen, the Database Explorer, click the icon to create a new connection.

7ConnectDataSource

Choose Redis.

This will take you to a screen to configure your database connection.

For Redis, this is typically the port and password.

8ConfigRedis

If you used the docker-compose.yaml from my previous post, the password is YourStrongPassword123. The port is the default, 6379.

You can test the connection to ensure all is well:

9TestConnection

You should see the following dialog:

10testSuccess

Our connection should be ready to browse.

Expand the keys from the top level, usually a database named 0.

11ViewDatabases

We can see our key, my-Key is available.

Double click to view the data.

12ViewData

TLDR

JetBrains DataGrip can be used to view Redis data.

Happy hacking!