Syntax\n------\n\nSHOW PRIVILEGES\n\nDescription\n-----------\n\nSHOW PRIVILEGES shows the list of system privileges that the MariaDB server supports. The exact list of privileges depends on the version of your server.\n\nSHOW PRIVILEGES shows the list of system privileges that the MariaDB server supports. The exact list of privileges depends on the version of your server.\n\nNote that before MariaDB 10.3.23, MariaDB 10.4.13 and MariaDB 10.5.2 , the Delete history privilege displays as Delete versioning rows (MDEV-20382).\n\nExamples\n--------\n\nSHOW PRIVILEGES;\n+--------------------------+---------------------------------------+--------------------------------------------------------------------+\n| Privilege                | Context                               | Comment                                                            |\n+--------------------------+---------------------------------------+--------------------------------------------------------------------+\n| Alter                    | Tables                                | To alter the table                                                 |\n| Alter routine            | Functions,Procedures                  | To alter or drop stored functions/procedures                       |\n| Create                   | Databases,Tables,Indexes              | To create new databases and tables                                 |\n| Create routine           | Databases                             | To use CREATE FUNCTION/PROCEDURE                                   |\n| Create temporary tables  | Databases                             | To use CREATE TEMPORARY TABLE                                      |\n| Create view              | Tables                                | To create new views                                                |\n| Create user              | Server Admin                          | To create new users                                                |\n| Delete                   | Tables                                | To delete existing rows                                            |\n| Delete history           | Tables                                | To delete versioning table historical rows                         |\n| Drop                     | Databases,Tables                      | To drop databases, tables, and views                               |\n| Event                    | Server Admin                          | To create, alter, drop and execute events                          |\n| Execute                  | Functions,Procedures                  | To execute stored routines                                         |\n| File                     | File access on server                 | To read and write files on the server                              |\n| Grant option             | Databases,Tables,Functions,Procedures | To give to other users those privileges you possess                |\n| Index                    | Tables                                | To create or drop indexes                                          |\n| Insert                   | Tables                                | To insert data into tables                                         |\n| Lock tables              | Databases                             | To use LOCK TABLES (together with SELECT privilege)                |\n| Process                  | Server Admin                          | To view the plain text of currently executing queries              |\n| Proxy                    | Server Admin                          | To make proxy user possible                                        |\n| References               | Databases,Tables                      | To have references on tables                                       |\n| Reload                   | Server Admin                          | To reload or refresh tables, logs and privileges                   |\n| Binlog admin             | Server                                | To purge binary logs                                               |\n| Binlog monitor           | Server                                | To use SHOW BINLOG STATUS and SHOW BINARY LOG                      |\n| Binlog replay            | Server                                | To use BINLOG (generated by mariadb-binlog)                        |\n| Replication master admin | Server                                | To monitor connected slaves                                        |\n| Replication slave admin  | Server                                | To start/stop slave and apply binlog events                        |\n| Slave monitor            | Server                                | To use SHOW SLAVE STATUS and SHOW RELAYLOG EVENTS                  |\n| Replication slave        | Server Admin                          | To read binary log events from the master                          |\n| Select                   | Tables                                | To retrieve rows from table                                        |\n| Show databases           | Server Admin                          | To see all databases with SHOW DATABASES                           |\n| Show view                | Tables                                | To see views with SHOW CREATE VIEW                                 |\n| Shutdown                 | Server Admin                          | To shut down the server                                            |\n| Super                    | Server Admin                          | To use KILL thread, SET GLOBAL, CHANGE MASTER, etc.                |\n| Trigger                  | Tables                                | To use triggers                                                    |\n| Create tablespace        | Server Admin                          | To create/alter/drop tablespaces                                   |\n| Update                   | Tables                                | To update existing rows                                            |\n| Set user                 | Server                                | To create views and stored routines with a different definer       |\n| Federated admin          | Server                                | To execute the CREATE SERVER, ALTER SERVER, DROP SERVER statements |\n| Connection admin         | Server                                | To bypass connection limits and kill other users' connections      |\n| Read_only admin          | Server                                | To perform write operations even if @@read_only=ON                 |\n| Usage                    | Server Admin                          | No privileges - allow connect only                                 |\n+--------------------------+---------------------------------------+--------------------------------------------------------------------+\n41 rows in set (0.000 sec)\n\nURL: https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/show/show-privileges