SHOW PRIVILEGES

Displays a list of the supported system privileges.

Syntax

SHOW PRIVILEGES;

Remarks

Examples

SHOW PRIVILEGES;
+-------------------------+------------------------------------------+-------------------------------------------------------+
| Privilege               | Context                                  | Summary                                               |
+-------------------------+------------------------------------------+-------------------------------------------------------+
| Alter                   | Tables                                   | To alter tables                                       |
| Alter routine           | Functions, Procedures                    | To alter or drop stored functions/procedures          |
| Alter view              | Databases, Tables                        | To alter existing views                               |
| Backup                  | Databases                                | To execute backups                                    |
| Cluster                 | Server Admin                             | To administer the cluster                             |
| Create                  | Databases, Tables, Indexes               | To create new tables                                  |
| Create database         | Databases                                | To create databases                                   |
| Create routine          | Databases                                | To create stored functions/procedures                 |
| Create temporary tables | Databases                                | To create temporary tables                            |
| Create view             | Tables                                   | To create new views                                   |
| Create user             | Server Admin                             | To create new users                                   |
| Delete                  | Tables                                   | To delete rows                                        |
| Drop                    | Databases, Tables                        | To drop tables                                        |
| Drop database           | Databases                                | To drop databases                                     |
| Drop view               | Databases, Tables                        | To drop views                                         |
| Execute                 | Functions, Procedures                    | To execute stored routines                            |
| File read               | Read-only file access on server          | To read files on the server                           |
| File write              | Write-only file access on server         | To write files on the server                          |
| Grant option            | Databases, Tables, Functions, Procedures | To grant your privileges to other users               |
| Index                   | Tables                                   | To create or drop indexes                             |
| Insert                  | Tables                                   | To insert data into tables                            |
| Lock tables             | Databases                                | To use LOCK TABLES (with SELECT privilege)            |
| Process                 | Server Admin                             | To view currently executing queries                   |
| References              | Databases, Tables                        | To create foreign key references                      |
| Reload                  | Server Admin                             | To reload or refresh tables and logs                  |
| Replication client      | Server Admin                             | To view replication source information                |
| Replication secondary   | Server Admin                             | To read binary log events from the primary            |
| Select                  | Tables                                   | To retrieve rows from tables                          |
| Show databases          | Server Admin                             | To view all databases                                 |
| Show plan               | Server Admin                             | To view execution plans                               |
| Show view               | Tables                                   | To view definitions with SHOW CREATE VIEW             |
| Super                   | Server Admin                             | To use KILL, SET GLOBAL, and similar commands         |
| Trigger                 | Tables                                   | To create and use triggers                            |
| Create tablespace       | Server Admin                             | To create, alter, or drop tablespaces                 |
| Update                  | Tables                                   | To update existing rows                               |
| Usage                   | Server Admin                             | No privileges (connect only)                          |
+-------------------------+------------------------------------------+-------------------------------------------------------+
36 rows in set (0.00 sec)

Last modified:

Was this article helpful?

Verification instructions

Note: You must install cosign to verify the authenticity of the SingleStore file.

Use the following steps to verify the authenticity of singlestoredb-server, singlestoredb-toolbox, singlestoredb-studio, and singlestore-client SingleStore files that have been downloaded.

You may perform the following steps on any computer that can run cosign, such as the main deployment host of the cluster.

  1. (Optional) Run the following command to view the associated signature files.

    curl undefined
  2. Download the signature file from the SingleStore release server.

    • Option 1: Click the Download Signature button next to the SingleStore file.

    • Option 2: Copy and paste the following URL into the address bar of your browser and save the signature file.

    • Option 3: Run the following command to download the signature file.

      curl -O undefined
  3. After the signature file has been downloaded, run the following command to verify the authenticity of the SingleStore file.

    echo -n undefined |
    cosign verify-blob --certificate-oidc-issuer https://oidc.eks.us-east-1.amazonaws.com/id/CCDCDBA1379A5596AB5B2E46DCA385BC \
    --certificate-identity https://kubernetes.io/namespaces/freya-production/serviceaccounts/job-worker \
    --bundle undefined \
    --new-bundle-format -
    Verified OK

Try Out This Notebook to See What’s Possible in SingleStore

Get access to other groundbreaking datasets and engage with our community for expert advice.