Connect to a cluster
After getting a cluster up and running, you need to connect to it so that you can interact with RisingWave.
You can choose from the following two ways to connect to your cluster.
- Query console
- Local client
The query console is the most intuitive and easy way to connect to and interact with RisingWave, offering graphical tools for managing data and visualizing results.
To connect via the console:
Go to Query.
Select the cluster you want to connect to and then select an existing database user or create a new one.
See how to create a new user
Select Create a new user on the left, and type in the username and password to create it.
Enter the password of the user to log in to the cluster.
For detailed instructions on using the console, see Query console.
For terminal enthusiasts, you can still connect to your cluster through a local terminal with the help of psql
.
To connect via psql
client:
Install
psql
in your environment.psql
is a command-line interface for interacting with PostgreSQL databases, including RisingWave.In RisingWave Cloud, go to Clusters.
Click Connect of the cluster you want to connect.
Select the cluster you want to connect to and then select an existing database user or create a new one.
See how to create a new user
Select Create a new user on the left, and type in the username and password to create it.
Copy the connection string and run it in a terminal window.
Log in with the password of the database user.
What's next
RisingWave Cloud leverages the superpower of RisingWave, an open-source distributed SQL database specifically designed for stream processing. Start building your real-time applications with RisingWave, in the cloud.