Skip to content

HAMUR_E5502: hamur db names a connection the config does not set

hamur db names a connection the config does not set. Error HAMUR_E5502 belongs to @hamur/db (5501 – 5600).

Message

text
HAMUR_E5502 No database "<connection>": set db.connections.<connection> in hamur.config.ts
text
HAMUR_E5502 No database "<target>": set db.connections.<target> in hamur.config.ts

Cause

A hamur db command names a connection that is not in db.connections.

Fix

Set db.connections.<name> in hamur.config.ts, or use a name that is.