# Select Database

When CopyStorm/Director is launched it will always require credentials for its corresponding database.

* CopyStorm/Director will automatically remember the most recently used credentials for the current user.
* The most recently used credentials are encrypted and stored in the file $HOME/.capstorm/CopyStormDirector.properties.
  * Encryption is performed using DES-256 with an unpublished secret key.
  * A typical encrypted database credential token looks like:
    * “>+XivzBaVHtPWN7wuBWQS454c2rWv76pk2+fMILleNtVCWK+++exzHk7CkrM1RfgXTLiXAGM15RR674Xy5+jEZQtzHrgxllFX8wx25FbQr7iH0tmcWAGghiYpnRe+7VIS

There are no special setup requirements for the database except that the corresponding user:

* Must be able to create/alter tables and views.
* Must be able to insert/update/delete/select from any table/view created.

CopyStorm/Director automatically creates the necessary schema if it is missing.

After entering credentials, click on the “Select” button to connect to the CopyStorm/Director database and launch the configuration editor:

![](https://4094748065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F762n2rpeqXwJ3ygR1d80%2Fuploads%2Fgit-blob-0e58ffe65e92297315ee02f3980b463dcbc807e4%2Fd344d4c5-SelectDatabase.png?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.capstorm.com/copystorm-director/reference/copystorm-director-gui/select-database.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
