Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
SHOW USERS
On this page
The SHOW USERS command shows users on a SingleStore cluster.
Note: This command requires *. privileges on all databases to view all users in the cluster.
GRANT ALL ON *.* to <user>;
Refer to GRANT for more information.
Syntax
SHOW USERSOutput
|
Column |
Description |
|---|---|
|
|
Username |
|
|
Type of user (Native, SAML, PAM, or GSSAPI) |
|
|
Number of user connections |
|
|
Is deleted |
|
|
Default resource pool name when user starts a connection |
|
|
Whether the user is automatically synchronized to all aggregators in the cluster. |
Example
SHOW USERS;
+-------------------------+--------+-------------+------------+-----------------------+-----------+
| User | Type | Connections | Is deleted | Default resource pool | Is local |
+-------------------------+--------+-------------+------------+-----------------------+-----------+
| 'admin'@'127.0.0.1' | Native | 0 | | | SYNC |
| 'admin'@'localhost' | SAML | 0 | | | SYNC |
| 'dashboard'@'127.0.0.1' | Native | 0 | | respool1 | SYNC |
| 'root'@'%' | Native | 1 | | | LOCAL |
| 'pam'@'ident.secure.com'| PAM | 0 | | | SYNC |
+-------------------------+--------+-------------+------------+-----------------------+-----------+Related Topics
Last modified: