SETDB

Defines the database to use for subsequent requests.

Request

Default database

Set back to the default database.

-------------------
| request |   0   |
-------------------
  1 byte    1 byte

Specified database

The dbname parameter must be an ASCII character string, NOT null-terminated. It must not begins by an underscore character.

-----------------------------------------
| request | dbname length | dbname
-----------------------------------------
  1 byte    1 byte          n bytes

Response

----------
| answer |
----------
  1 byte