Initializing the Database

Use SQL to create a database.

NOTE: To ensure security, change the initial password of user omm after the first login.

When using an SQL statement to create a database, set the character set to GBK.

gsql -d postgres -p 26000
postgres=# CREATE DATABASE mydb WITH ENCODING 'GBK' template = template0;

Information similar to the following is displayed:

CREATE DATABASE
Feedback
编组 3备份
    openGauss 2024-12-22 00:53:44
    cancel