Starting Databases From Init-Scripts
Starting with release 7.5 MaxDB provides tools that allow root to bring databases into online and offline state without having to provide any passwords:
>x_start correct use of x_start is: start fast kernel :: x_start <serverdb> start quick kernel :: x_start -quick <serverdb> start slow kernel :: x_start -slow <serverdb> ignore autorestart :: -i or -admin start with low prio :: -l or -lowprio verbose mode :: -v
>x_stop
correct use of x_stop is:
Usage :: x_stop [{-v|-force|-dump}] <serverdb> [{force|dump}]
x_stop is using implicit authentification and is equivalent
to 'dbmcli db_offline' or 'dbmcli db_stop' commands.
Options
Wants knldump creation :: -dump
Stopping enforced (db_stop) :: -force
Verbose mode :: -v
As alternative form it is allowed to use 'force' and 'dump' as arguments
stop forced without dump :: x_stop <serverdb> force
stop forced with dump :: x_stop <serverdb> force dump
stop with dump :: x_stop <serverdb> dump
To bring your database TESTDB into online state, all you have to do is:
>x_start TESTDB OK Database TESTDB started to status ONLINE
Feel free to add your init-scripts here as complete examples...
MaxDB Wiki