This statement deletes an ApsaraDB for OceanBase user.
To run the DROP USER command, you must have the CREATE USER system permission.
CASCADE specifies that before a user is deleted, all the objects for the user, such as permissions, databases, and tables, are deleted.
DROP USER username CASCADE;
The username. Only a single user can be deleted.
Run the following command to delete the user that is named sqluser.
oceanBase(admin@TEST)>DROP USER sqluser CASCADE; Query OK, 0 rows affected (0.06 sec)