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

Warning: missing required privilege REPLICATION CLIENT

Details

    Description

      mariabackup giving what appears to be a benign error regarding sst user rights during SST process.

      [00] 2020-08-26 23:25:00 Warning: missing required privilege REPLICATION CLIENT on .
      /usr/bin/mariabackup based on MariaDB server 10.5.5-MariaDB Linux (x86_64)

      I believe mariadb still expects that REPLICATION CLIENT exist in the grants table when its been updated to BINLOG MONITOR per the documentation. I don't believe mariabackup attempts to check the new grant type.

      Everything is functioning normally. Trivial bug but is misleading.

      -Justin

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            You're right. Also SUPER is checked for killing connections however CONNECTION ADMIN should be checked as well.

            danblack Daniel Black added a comment - You're right. Also SUPER is checked for killing connections however CONNECTION ADMIN should be checked as well.

            One of our customer is also seeing the same warning while running mariabackup.

            SHOW GRANTS FOR 'mariabackup'@'localhost';
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------+
            | Grants for mariabackup@localhost |
            +-----------------------------------------------------------------------------------------------------------------------------------------------------------+
            | GRANT RELOAD, PROCESS, LOCK TABLES, BINLOG MONITOR ON *.* TO `mariabackup`@`localhost` IDENTIFIED BY PASSWORD '' |
            

            root@frtecdtbpl020 prog]# mariabackup --defaults-extra-file=/etc/my.cnf.d/mariabackup.cnf --port=3306 --parallel=2 --backup --galera-info --target-dir=/mariabackup/20220428_TEST/FULL
            [00] 2022-04-27 10:48:37 Connecting to MariaDB server host: localhost, user: mariabackup, password: set, port: 3306, socket: /data/mysql.sock
            ....
            [00] 2022-04-27 10:48:37 Warning: missing required privilege REPLICATION CLIENT on *.*
            mariabackup based on MariaDB server 10.6.7-MariaDB Linux (x86_64)
            

            niljoshi Nilnandan Joshi added a comment - One of our customer is also seeing the same warning while running mariabackup. SHOW GRANTS FOR 'mariabackup'@'localhost'; +-----------------------------------------------------------------------------------------------------------------------------------------------------------+ | Grants for mariabackup@localhost | +-----------------------------------------------------------------------------------------------------------------------------------------------------------+ | GRANT RELOAD, PROCESS, LOCK TABLES, BINLOG MONITOR ON *.* TO `mariabackup`@`localhost` IDENTIFIED BY PASSWORD '' | root@frtecdtbpl020 prog]# mariabackup --defaults-extra-file=/etc/my.cnf.d/mariabackup.cnf --port=3306 --parallel=2 --backup --galera-info --target-dir=/mariabackup/20220428_TEST/FULL [00] 2022-04-27 10:48:37 Connecting to MariaDB server host: localhost, user: mariabackup, password: set, port: 3306, socket: /data/mysql.sock .... [00] 2022-04-27 10:48:37 Warning: missing required privilege REPLICATION CLIENT on *.* mariabackup based on MariaDB server 10.6.7-MariaDB Linux (x86_64)
            danblack Daniel Black added a comment -

            wlad can I get a review on PR #2211 please.

            danblack Daniel Black added a comment - wlad can I get a review on PR #2211 please.

            People

              danblack Daniel Black
              jgerry2002 Justin Gerry
              Votes:
              1 Vote for this issue
              Watchers:
              8 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.