Creating a Database
This section describes how to create a database on the DAS console.
Procedure
- Log in to the DAS console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner, and under Databases, click Data Admin Service.
- In the navigation pane on the left, choose Development Tool.
You can also click Go to Development Tool on the overview page.
- Locate the DB instance that you want to log in to and click Log In in the Operation column.
- In the database list of the Home page, click Create Database.
Figure 1 Creating a database
- In the displayed dialog box, enter a database name, select a character set, and configure other parameters as required.
Figure 2 Creating a database
You can execute the following SQL statement to query system table pg_collation and view the character set and its corresponding collation and character type as follows:
select pg_encoding_to_char(collencoding) as encoding,collname,collcollate,collctype from pg_collation ;
- Click OK. View the created database in the database list.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot