Navigation:  LVE-Stats 2 > Command-line Tools >


Previous pageReturn to chapter overviewNext page

usage: lve-create-db [-h] [--recreate] [--print-sql]

                    [--update-serverid-prompt] [--update-serverid-auto]




Creates a database for lve-stats



optional arguments:

 -h, --help            show this help message and exit

 --recreate            Drops and recreates database even if tables exists

                       (default: False)

 --print-sql           Prints sql and exits, without creating db (default:



                       Update exist server ID or create new one (default:



                       Update exist server ID with uuid (default: False)

 --validate            Check the correctness of the database structure

                       (default: False)