Log on to a database
Updated at:
You can log on to a Graph Database (GDB) instance to query and analyze data. This topic describes how to log on to a database using Data Management (DMS) as an example.
Prerequisites
You have created an account by following the steps in the Quick Start guide. For more information, see Create an account.Procedure
- Log on to the DMS console.
- In the navigation pane on the left, click the + icon next to Database Instances.
- In the Add Instance dialog box, under the ApsaraDB category, click Graph Database.
- Enter the Basic Information for the instance.
Configuration Description Data Source Select ApsaraDB. Database Type Select Graph Database. Instance Region Select the region where the instance is located. Entry Method Select Instance ID. Instance ID From the drop-down list, select the ID of the GDB instance to which you want to log on. Database Account Enter the database account and password. For information about how to obtain them, see Create an account. Database Password Control Mode Select a control mode for the instance. This tutorial uses Flexible Management. You can select other control modes for different business scenarios. For more information about control modes, see Control modes.
Note This tutorial does not cover the configuration of Advanced Information. You can configure the Advanced Information settings based on your requirements. For more information, see ApsaraDB Data Entry. - Test the database connection.
- In the lower-left corner of the Add Instance dialog box, click Test Connection.
- After a Success message appears, click OK.
- Click Log On.
References
You can also use other client tools to log on to a GDB instance. The following options are available:
- Log on to the database using the open source GDB Console. It provides a simple visualization interface that supports custom development for your business needs. For more information, see Log on to a Graph Database instance using the open source GDB Console.
- Connect to the instance using the Gremlin Console. This command-line tool is suitable for instances that use the Gremlin kernel and for query performance optimization. For more information, see Connect to an instance using the Gremlin Console.
- Connect to the instance using Cypher Shell. This command-line tool is suitable for instances that use the Cypher kernel. For more information, see Connect to an instance using Cypher Shell.
- Connect to the instance using an SDK. SDKs are available for Java, Python, .NET, Go, and Node.js. For more information, see SDK Reference.
What to do next
Is this page helpful?