myarminitdb

Documentation / Web Edition / User Guide / Tools / myarminitdb

myarminitdb -- initializes the configured database

The myarminitdb program is used to initialize the currently configured database. Especially it creates the needed databases tables used by MyARM.

Command line options

Usage:

myarminitdb [options]

The myarminitdb command supports the standard options described in appendix "Standard options" and the following:

-c, --create
creates the configured database and all needed tables.
-d, --drop
deletes the configured database and all its tables.
-e name, --engine name
selects the storage engine to use for the created database. Currently this is only supported for the MySQL database.
-q, --quiet
suppresses any information output.

Example

Invoking the myarminitdb command without an option it prints the current database layout version:

ruppert@myarm /opt/myarm $ myarminitdb 
myarminitdb: MyARM database tables version=1 found and is up to date
See Also
myarmoptions, myarmconfig