This command opens a database tunnel to the database system associated with the specified schema or database.
SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.
For more information, see SAP Note 3351844.
This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform
↗️ .
Make sure that you have installed the required tools correctly.
If you face trouble using this command, please check that your installation is correct.
For more information, see Set Up the Console Client and Using the Console Client.
The command has two modes:
-
Default mode: The tunnel remains open until you explicitly close it by pressing [ENTER] in the command line. It is closed automatically after 24 hours or if the command window is closed.
neo open-db-tunnel -a <subaccount_technical_name> -h <host> -u <user> -i <ID_or_alias>
-
Background mode: The database tunnel is opened in a separate process. Use the
close-db-tunnel
command to close the tunnel once you are done, or it is closed automatically after one hour.neo open-db-tunnel -a <subaccount_technical_name> -h <host> -u <user> -i <ID_or_alias> --background
Required |
|
---|---|
|
Subaccount technical name
|
|
Enter a region host.
|
|
|
|
Identifies a database access permission. The access token and database ID parameters are mutually exclusive. |
|
To protect your password, enter it only when prompted by the console client and not explicitly as a parameter in the properties file or the command line.
|
|
Use your e-mail, SAP ID, or user name
|
Optional |
|
---|---|
|
Opens the tunnel session in a background process
|
|
Prints information about the tunnel in a special output format.
|
neo open-db-tunnel -a mysubaccount -h us2.hana.ondemand.com -u [email protected] -i mydatabase
Related Information
Accessing Databases Remotely
Connect to SAP HANA Databases via the Eclipse IDE
Connect to SAP HANA Schemas via the Eclipse IDE (Neon)
Connect to the Remote SAP ASE Database
Automating the Use of Database Tunnels