MariaDB Permissions¶
Permissions in your MariaDB
The permissions on this page are granted in your own MariaDB, to the account Qualytics connects with, by whoever administers MariaDB at your company. They let Qualytics connect the datastore and read your data, and write to it when it is an enrichment datastore. They are not Qualytics roles or team permissions. To know which Qualytics user role (Admin, Manager, or Member) and team permission you need to connect the datastore in Qualytics, see Source Datastore Permissions.
Qualytics connects to MariaDB through the MariaDB JDBC driver. It uses standard JDBC metadata APIs to discover databases, tables, columns, and primary keys. MariaDB uses the same permission model as MySQL: the database name you provide in the connection form is the scope for all operations.
Minimum MariaDB Permissions (Source Datastore)¶
| Permission | Purpose |
|---|---|
SELECT |
Read data from all tables for profiling and scanning |
SHOW VIEW |
Read view definitions for metadata discovery |
PROCESS |
View active queries (used by the JDBC driver for connection metadata) |
Additional Permissions for an Enrichment Datastore¶
When MariaDB is used as an enrichment datastore, the following additional permissions are required so Qualytics can write its outputs, which are named from the linked source's prefix (for example _tpch_failed_checks):
| Permission | Purpose |
|---|---|
CREATE |
Create enrichment outputs |
ALTER |
Modify enrichment table schemas during version migrations |
INSERT |
Write anomaly records, scan results, and check metrics |
UPDATE |
Update enrichment records during rescans |
DELETE |
Replace records when a run overwrites an output |
DROP |
Replace an output when a run overwrites it or its schema changes. Unlinking never removes written data |
Example: Source Datastore User (Read-Only)¶
Replace <database_name> and <password> with your actual values.
-- Create a dedicated read-only user
CREATE USER ‘qualytics_read’@’%’ IDENTIFIED BY ‘<password>’;
-- Grant read access to all tables and views
GRANT SELECT, SHOW VIEW ON <database_name>.* TO ‘qualytics_read’@’%’;
-- Grant the global PROCESS privilege (required by the JDBC driver for connection metadata)
GRANT PROCESS ON *.* TO ‘qualytics_read’@’%’;
-- Apply the changes
FLUSH PRIVILEGES;
Example: Enrichment Datastore User (Read-Write)¶
-- Create a dedicated read-write user
CREATE USER ‘qualytics_readwrite’@’%’ IDENTIFIED BY ‘<password>’;
-- Grant full data manipulation and table management
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP, SHOW VIEW ON <database_name>.* TO ‘qualytics_readwrite’@’%’;
-- Grant the global PROCESS privilege (required by the JDBC driver for connection metadata)
GRANT PROCESS ON *.* TO ‘qualytics_readwrite’@’%’;
-- Apply the changes
FLUSH PRIVILEGES;
Note
Qualytics automatically filters out system databases (information_schema, mysql, performance_schema, sys) during schema discovery. You do not need to restrict access to these databases manually.