For more information, see Create a database. We recommend that you go to the Hologres console and create a database for business purposes. However, limited resources are allocated to this database. You can connect to the postgres database. The public endpoint of the Hologres instance.Įxample: .Īfter you purchase a Hologres instance, a database named postgres is automatically created. The public port number of the Hologres instance. Custom account: the password of the custom account.You can obtain the AccessKey secret from the Security Management page. Alibaba Cloud account: the AccessKey secret of your Alibaba Cloud account.Custom account: the username of the custom account.You can obtain the AccessKey ID from the Security Management page. Alibaba Cloud account: the AccessKey ID of your Alibaba Cloud account.Execute the following SQL statements if you use the Windows operating system: Server : Endpoint.Execute the following SQL statement if you use the macOS operating system: PGUSER= PGPASSWORD= psql -p -h -d.Execute the following SQL statement if you use the Linux operating system: psql -h -p -U -d Įnter the AccessKey secret of your Alibaba Cloud account as prompted.The syntax of the SQL statements is the same as that used to connect to a PostgreSQL database. Open the PostgreSQL client and execute the required SQL statements based on your operating system to connect to Hologres.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |