BIENVENUE10valid for the first month only! on all offersView plans
Skip to content
← Knowledge base

Use your managed RethinkDB database (real-time JSON)

Connect to RethinkDB (driver port 28015, UI 8080), ReQL, changefeeds and backups.

Use your managed RethinkDB database

RethinkDB is a real-time JSON NoSQL database (changefeeds). Host, driver port (28015) and password are in the panel.

1. Ports

  • 28015: driver port (application connections).
  • 8080: web admin UI (if exposed via the panel / tunnel).

2. Connect

Node.js driver (rethinkdbdash)

import r from "rethinkdbdash"
const conn = r({ host: "<host>", port: 28015, user: "admin", password: "<password>" })

Python driver

from rethinkdb import RethinkDB
r = RethinkDB()
conn = r.connect(host="<host>", port=28015, user="admin", password="<password>")

3. Allow your IP

Add your IP under Database → Allowed IPs.

4. ReQL — common queries

// Create a table
r.db("test").tableCreate("users").run(conn)

// Insert
r.table("users").insert({ name: "Ada", role: "admin" }).run(conn)

// Read
r.table("users").filter({ role: "admin" }).run(conn)

// Changefeed (real-time)
r.table("users").changes().run(conn)

5. Backups

Automatic backups are managed by onesubnet. Manual dump via rethinkdb dump (from an environment with access):

rethinkdb dump -c <host>:28015 -a <password>

References

Related products

oneSubnet

French hosting provider in Paris. High-performance game and voice servers.

SERVICES

Resources

LEGAL

All systems operational