Test if database is working and empty for Listiary installation.

User have made an empty database, set up an user for it, then he runs a command like config-make, and provides the data, to create the config, then the user runs database-test, to make sure the database is suitable for installing a Listiary instance.

This command is used when installing a new Listiary wiki.

Command Syntax

database-test [PRESENTATION_FLAGS]
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php database-test
Test a database for wiki installation.

php spark.php database-test theme=DEFAULT
Test a database for wiki installation with presentation flags

php spark.php database-test -hb theme=DEFAULT
Test a database for wiki installation with presentation flags

php spark.php database-test -auto -hb theme=DEFAULT
Test a database for wiki installation with presentation flags

Back