# License the engine

**Target length:** 9 minutes  
**Kernel on camera:** 2.74.26  
**Audience:** Owner of a fresh install still inside the 30-day trial, with the account page open.

**YouTube title:** VeloceDB license keys — trial, Ed25519, W5 / WG / EE

Trial is full-featured, including cluster size greater than one. A key is an offline **Ed25519** signature. The engine holds the public key only and does not phone home. HMAC keys from 2.74.25 need Reissue on the account. After the trial, writes need a key. Reads still run.

## On-screen beats

1. Control Center header: license chip shows trial. Overview health JSON: `license.mode` is `trial`, `trial_days_remaining` is a number, `enterprise` is true.
2. Account at `https://veloce.tuce.app/account`: the key string. Do not read the whole key aloud if this recording will be public. Cover the middle on screen or use a lab key you can revoke.
3. Pricing table only if you need the SKU names: $999, $3,499, $9,999, $199, $299.
4. Control Center → License pane. Paste. Activate. Chip changes to the sku.
5. Terminal: `SHOW LICENSE` on port 2143. Same JSON.
6. Hold a slide: what each prefix unlocks after the trial, and the five-user honesty line.

## GUI vs CLI

| Show in the GUI | Show in the terminal |
| --- | --- |
| License pane. The Activate button POSTs `{ "key": "…" }` to `https://127.0.0.1:8098/api/v1/license` | `SHOW LICENSE` and, if you activate from the shell, `SET LICENSE` |
| Header chip and Overview health after refresh | Startup log: `VeloceDB license licensed VELOCE-…` after a restart that reads `license.key` |

Prefer the GUI for the camera so the key is a paste, not something you type into a shell history.

## Spoken script

“The install is in trial. I am going to show what that means, then activate a key from the account. I am not going to invent a key. New keys are Ed25519 over the prefix and the nonce. The engine verifies with a public key. Stolen installer source cannot mint. A made-up string returns `ERROR invalid license`. An old HMAC key returns `ERROR reissue license` — I would click Reissue on the account, not type a new secret.”

Open Control Center, Overview.

“Health already has the license block. Mode is trial. `trial_days_remaining` counts down from thirty. `enterprise` is true during the trial even with no key. That is deliberate. Failover, backup, and a second cluster member work until the trial ends, or until you activate a key that is not Enterprise. Listen to that last part. If this machine is the one where you still want to practice clustering, do that video first, or practice on a second data directory. Activating a five-user, unlimited Standard, client, or upgrade key on this data directory turns enterprise off.”

Open the account.

“Keys are minted when the order is paid. The shape is fixed. 2.74.26 signatures are Ed25519, 128 hex. HMAC 16-hex keys from 2.74.25 need a reissue from the account.”

```text
VELOCE-{PREFIX}-{8 hex}-{8 hex}-{128 hex}
```

“Prefixes the gate accepts: W5, WG, CL, UG, EE, EN, ENT. New Enterprise keys from the site use EE. Older EN and ENT keys still verify. W5 is Workgroup Standard five-user, nine hundred ninety-nine dollars. WG is unlimited Standard, three thousand four hundred ninety-nine. EE is Workgroup Enterprise, nine thousand nine hundred ninety-nine. CL is the Client Toolkit, one hundred ninety-nine. UG is the previous-customer upgrade, two hundred ninety-nine, and it installs the same Workgroup zip. Prices are the list on the pricing page.”

“Five-user is a real SKU. Prefix W5. After trial, the engine counts concurrent TCP clients on SQL 2143 plus ISAM 1583. The sixth of those gets `ERROR license seats`. Cluster 1584, operator HTTP 8098, and UDS are not seats. It does not count Windows logons. Do not tell a customer it enforces five OS accounts. It enforces five concurrent SQL+ISAM TCP clients on that instance.”

“WG, CL, and UG are single-node once the trial is over. Cluster commands that need more than one member return `ERROR enterprise`. EE, EN, and ENT keep cluster membership, failover, and backup. Trial keeps those too, until it expires or you replace it with a non-enterprise key.”

Switch to the License pane. Paste. Click Activate.

“The pane posts the key to `/api/v1/license`. A good key answers `ok: true` and a sku: `standard5`, `workgroup`, `client`, `upgrade`, or `enterprise`. The process writes `license.key` and `license.json` in the data directory. Same three ways to activate, pick one.”

From the line helper in the install video, on port 2143:

```text
SET LICENSE VELOCE-W5-........-........-................
```

“Reply is `OK license standard5` for a W5 key, or `OK license workgroup`, `OK license enterprise`, and so on. `ERROR invalid license` means the pattern or the Ed25519 verify failed. `ERROR reissue license` means an old HMAC key. `ERROR missing license` means you sent the verb with no key.”

Or a file, then restart the service so it reads the file at startup.

Windows data dir from the default installer:

```text
C:\Program Files\VeloceDB\Workgroup\data\license.key
```

One line, the key, then a newline. Linux default is `/opt/velocedb/workgroup/data/license.key`. macOS is `~/Library/Application Support/VeloceDB/Workgroup/license.key`.

Or the environment variable `VELOCE_LICENSE` set on the service before start. The Windows scheduled task and the Linux unit do not set it for you. If you use it, put it in that service environment and restart.

```text
SHOW LICENSE
```

“You get JSON: mode `licensed`, `licensed` true, `sku`, `prefix`, `enterprise` true or false, `trial_days_remaining` zero. `SHOW VERSION` still returns `VELOCE 2.74.26`.”

“When the trial clock hits zero and there is no key, the banner on connect becomes `VELOCE/2.74.26 sql ERROR license expired`. Inserts return `ERROR license expired`. Gets, counts, `SHOW`, `STATS`, `PING`, `QUIT`, `SHOW LICENSE`, `SHOW VERSION`, and `SET LICENSE` still run, so you can read and you can apply a key. The trial start is stored in the data directory and in a second clock on the machine. Deleting one of those files does not open a fresh thirty days. I am not going to walk through those clock files.”

“Client Toolkit key, prefix CL, belongs on the workstation story. If you `SET LICENSE` a CL key on the engine, the sku becomes `client` and HA locks the same way a WG key locks. Use W5, WG, UG, or EE on the engine. UG is the loyalty key for someone who already had a license. New customers buy Standard or Enterprise.”

“No phone-home. The check is local Ed25519. After Activate, refresh Overview and read `enterprise` out loud so the room knows whether failover will still answer tomorrow.”

## Exact commands

On TCP 2143 or 1583 (CRLF, one line):

```text
SHOW LICENSE
SHOW VERSION
PING
SET LICENSE VELOCE-W5-XXXXXXXX-XXXXXXXX-XXXXXXXXXXXXXXXX
```

Replace the X key with the account key. The engine uppercases and strips spaces before it checks.

Replies:

```text
OK license standard5
OK license workgroup
OK license client
OK license upgrade
OK license enterprise
ERROR invalid license
ERROR missing license
ERROR license expired
```

`SHOW LICENSE` fields you can point at: `mode`, `trial_days_remaining`, `licensed`, `sku`, `prefix`, `enterprise`.

GUI: Control Center → License → Activate. Same function as `SET LICENSE`.

These lines stay legal after expiry, so a locked engine can still be licensed: `SET LICENSE`, `SHOW LICENSE`, `SHOW VERSION`, `PING`, `QUIT`.

## Do not say

- The server counts five OS logons, five seats, or five TCP connections. W5 is a distinct prefix and a distinct price. It is not a runtime seat meter.
- A Community SKU, a Lite SKU, or a headless license.
- Actian Zen, Pervasive, or Btrieve.
- “The key phones home,” or any claim of a SOC 2 letter, HIPAA certification, or `certifiedClaim`. `SET COMPLIANCE` stores a label. It is not an attestation.
- A pasted example key that is not a real Ed25519 signature. Viewers who copy a fake key will get `ERROR invalid license`.
- “Activating Standard keeps HA.” Trial HA ends when a W5, WG, CL, or UG key is stored.
- EN as the only Enterprise prefix. New mints are `VELOCE-EE-`. `VELOCE-EN-` and `VELOCE-ENT-` still verify.
