title |
---|
MariaDB |
This page covers connecting to MariaDB as a data warehouse. For using MariaDB as Metabase's application database, see Configuring the Metabase application database.
To add a database connection, click on the gear icon in the top right, and navigate to Admin settings > Databases > Add a database.
MariaDB shares a driver with MySQL, so select the MySQL driver.
Metabase supports the oldest supported version of Maria DB through the latest stable version. See MariaDB Server releases.
You can edit these settings at any time. Just remember to save your changes.
The display name for the database in the Metabase interface.
Your database's IP address, or its domain name (e.g., esc.mydatabase.com).
The database port. E.g., 3306.
The database username for the account that you want to use to connect to your database. You can set up multiple connections to the same database using different user accounts to connect to the same database, each with different sets of privileges.
The password for the username that you use to connect to the database.
You can paste your server's SSL certification chain.
See our guide to SSH tunneling.
JSON folding is not supported for MariaDB databases.
You can append options to the connection string that Metabase uses to connect to your database.
Turn this option OFF if people want to click Run (the play button) before applying any summarize) or filter selections.
By default, Metabase will execute a query as soon as you choose an grouping option from the Summarize menu or a filter condition from the drill-through menu. If your database is slow, you may want to disable re-running to avoid loading data on each click.
See syncs and scans.
If you've selected Choose when syncs and scans happen > ON, you'll be able to set:
Metabase can scan the values present in each field in this database to enable checkbox filters in dashboards and questions. This can be a somewhat resource-intensive process, particularly if you have a very large database.
If you've selected Choose when syncs and scans happen > ON, you'll see the following options under Scanning for filter values:
Periodic refingerprinting will increase the load on your database.
Turn this option ON to scan a sample of values every time Metabase runs a sync.
A fingerprinting query examines the first 10,000 rows from each column and uses that data to guesstimate how many unique values each column has, what the minimum and maximum values are for numeric and timestamp columns, and so on. If you leave this option OFF, Metabase will only fingerprint your columns once during setup.
JSON schema inference doesn't work with MariaDB, due to implementation differences between MySQL and MariaDB.
See Danger zone.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )