Chapter 5. refdbd administration
Prev | Part II. Administrator manual | Next

## Chapter 5. refdbd administration

This chapter will explain the usage of refdba for the administration of refdbd. Please refer to the reference chapter about refdba to learn about command-line switches and interactive commands of this application.

## Create a database

Create new databases with the refdba command createdb foo. The new database will be empty initially. If you start adding datasets, the first dataset will have the ID 1.

In order to access the new database, users need to have their access rights set accordingly.

Due to restrictions of the database servers and of the way database names are encoded in refdb SGML/XML/LaTeX documents, the names of the databases should be treated as case-insensitive and should not contain colons (':').

Some database engines support different character encodings. In this case you can use the `-E` option to select an appropriate encoding. See the documentation of your database engine for available encodings.

### Tip

Your SQL database server may manage more databases than your refdb databases. In this case it may be prudent to use a common prefix for all refdb reference databases that you create. By providing a simple regular expression to the listdb command, the execution time may drop considerably.

Prev | Up | Next
Install the PHP interface | Home | Delete a database