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-26 01:07:08
    cancel