Comments - Roles Overview

 

It would be nice to have

CREATE ROLE IF NOT EXISTS

Best regards David

 
7 years ago Ian Gilfillan

This has existed since MariaDB 10.1.3 - see CREATE ROLE#IF NOT EXISTS.

 
7 years, 4 months ago Michael Shanks

For some reason I can't see the databases that I have access to when I run the "show databases" command. This only occurs when I have grants through a role, when I give a user direct permissions to the database I can see it (yes my current_role is set properly as this example indicates).

 
7 years, 4 months ago Sergei Golubchik

It could be a bug. If you can create a complete repeatable test case, please post it at jira.mariadb.org

 
8 years, 7 months ago Thomas Ouye

For some reason I can only grant roles from localhost. I am able to grant all other privileges but roles from any host.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.