Product Solutions Support
Try MemSQL

REVOKE

Revoke privileges from a MemSQL user.

    REVOKE priv_type [, priv_type] ... ON priv_level
        FROM user [, user] ...

    priv_level:
        *
      | *.*
      | database.*

    priv_type:
    	SELECT
      | INSERT
      | UPDATE
      | DELETE
      | CREATE
      | DROP
      | RELOAD
      | PROCESS
      | FILE READ
      | FILE WRITE
      | GRANT OPTION
      | INDEX
      | ALTER
      | SHOW METADATA
      | SUPER
      | CREATE TEMPORARY TABLES
      | LOCK TABLES
      | REPLICATION SLAVE
      | CREATE VIEW
      | SHOW VIEW
      | CREATE USER
      | CLUSTER
      | ALTER VIEW
      | DROP VIEW
      | BACKUP
      | CREATE DATABASE
      | DROP DATABASE            

    REVOKE ALL PRIVILEGES, GRANT OPTION
        FROM user [, user] ...

Notes:

Info

MemSQL Community Edition only allows the creation of new users with root permissions.

Examples:

REVOKE INSERT ON *.* FROM 'user'@'%';

REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'user'@'%';
Was this article useful?