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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay