creatdb [options] database
The program creatdb creates a new database. It takes a path name as an argument, which will be the name of the created database. Creatdb will create the directory named in the last component of the path; all other components (parent dirs) must exist.
Creatdb also creates the required system tables. Once creatdb has
been run then any of the other Texis commands such as the interactive
SQL interpreter (
tsql) can be used.
The database is created with two users,
Neither user will have a password initially, unless specified with the --system-password or --public-password options. The
will have complete full rights on the database. Any rights granted to
PUBLIC will be available to anyone. If you access the database
without specifying a username the default is
PUBLIC. You can
add a password to both of these accounts to restrict access to the
In version 7.00.1368581000 20130514 and later, the following command-line options were added:
Previous versions did not have any options, and would create a database in the current directory if no database was specified.