~/talk

MariaDB Roles

Talkat FOSDEM 2021 · on Saturday, 2021-02-06· at 13:30· D.mariadb· [databases, security]
links:none on file
slides:none on file

Roles implement the SQL standard and MariaDB adds DEFAULT ROLE so legacy apps gain role rights on connect; grants form a directed acyclic role graph (MariaDB forbids cycles, MySQL allows them). Effective privileges are precomputed at server startup and cached, with system storage in mysql.global_priv and edges in mysql.roles_mapping. Migration from MySQL 8.0 requires mariadb-dump using the --system and user switch to emit CREATE ROLE/USER statements, but some MySQL privileges need manual mapping.

AI-written summary · about

  1. 0:00Introduction to MariaDB Roles
  2. 3:54Role-based access example
  3. 6:24Role hierarchies and inheritance
  4. 8:46Performance and caching in roles
  5. 11:09Least privilege principle with roles
  6. 13:06Differences between MySQL and MariaDB
  7. 16:38Migration from MySQL to MariaDB
  8. 18:42Closing and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.