Creating a GaussDB Database
Scenario
After creating a GaussDB instance, you can create more databases as required. Database creation should comply with relevant design specifications. For details, see the Development and Design Proposal.
Creating a Database Through DAS
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page and choose .
- On the Instances page, locate the DB instance you want to log in to and click Log In in the Operation column.
Alternatively, click the DB instance name on the Instances page. On the displayed Basic Information page, click Log In in the upper right corner of the page.
- On the Custom Login page, select the node to be logged in to. Enter the correct database username and password, and click Test Connection. After the connection test is successful, click Log In.
- Create a database.
- In the database list of the homepage, click Create Database. In the displayed dialog box, enter a database name and specify a character set, template, and other required parameters. Click OK.
- Alternatively, on the top menu bar, choose SQL Operations > SQL Query. Run the following command to create a database:
create database database_name;
Creating a Database Using SQL Statements
You can also use the CREATE DATABASE command to create a database.
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