5.1. 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 documents the names of the databases should be treated as case-insensitive.

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.