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

MariaDB Custom users

    XMLWordPrintable

Details

    Description

      Hi Team,

      I would like to know how do we create following users in MariaDB ?

      Security Officer (sso_role) : This user should only create other users, but shouldn’t have all other DBA privileges.
      Emergency user ( root) : This user usually comes in to picture when there’s an emergency, otherwise any unauthorized access should lock this user as it’s a super user.
      dba_readonly : This user should able do all DBA activities and read Databases, except any data manipulations.

      Example : This is not working as expected for me.

      GRANT

      [ALTER,ALTER ROUTINE,CREATE,CREATE ROUTINE,CREATE TEMPORARY TABLES,CREATE VIEW,CREATE USER,DELETE,DROP,EVENT,EXECUTE,FILE,GRANT OPTION,
      INDEX,INSERT,LOCK TABLES,PROCESS,PROXY,REFERENCES,RELOAD,REPLICATION CLIENT,REPLICATION SLAVE,SELECT,SHOW DATABASES,SHOW VIEW,SHUTDOWN,
      SUPER,TRIGGER,CREATE TABLESPACE,UPDATE,USAGE]

      ON .

      TO 'sso_role'@'%'

      IDENTIFIED BY 'password' ;

      Thanks,
      Srinivas

      Attachments

        Activity

          People

            Unassigned Unassigned
            srinivas35153 Srinivas Mutyala
            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.