This topic describes how to create a user for a PolarDB-O database.
CREATE USER name [IDENTIFIED BY password]
||The name of the user.
||The password of the user.
When you execute the CREATE USER statement, PolarDB-O creates a schema that uses the same name as the user. The schema is owned by the user.
Create a user named user and set the password to password.
CREATE USER user IDENTIFIED BY password;