DEV Community

Ashwin Sharma P
Ashwin Sharma P

Posted on • Originally published at Medium

SAP Basis snippets #3

Start/Stop commands for MaxDB

First switch to the sqd<sid> user.

su - sqd<sid>
Enter fullscreen mode Exit fullscreen mode

Then logon to database manager command line interface

dbmcli -d <SID> -u <username>,<password>
Enter fullscreen mode Exit fullscreen mode

Once logged in to dbmcli using your details, execute the below commands.

Stop command ๐Ÿ‘‡

db_offline
Enter fullscreen mode Exit fullscreen mode

Start command ๐Ÿ‘‡

db_online
Enter fullscreen mode Exit fullscreen mode

Check db state ๐Ÿ‘‡

db_state
Enter fullscreen mode Exit fullscreen mode

Top comments (0)