Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22091

REVOKE ALL is not allowed for root

    XMLWordPrintable

Details

    Description

      Server version:         10.5.2-MariaDB-log MariaDB Server
       
      SQL> SELECT CURRENT_USER();
      +----------------+
      | CURRENT_USER() |
      +----------------+
      | root@localhost |
      +----------------+
       
      SQL> CREATE USER 'foo'@'bar';
       
      SQL> REVOKE ALL PRIVILEGES ON *.* FROM 'foo'@'bar';
      ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
       
       
      MariaDB 10.4.x
       
      SQL> REVOKE ALL PRIVILEGES ON *.* FROM 'foo'@'bar';
      Query OK, 0 rows affected, 1 warning (0.002 sec)
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              oli Oli Sennhauser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.