NOTE: The integration with DBeaver requires Manticore Buddy. If it doesn't work, make sure Buddy is installed.
DBeaver is a SQL client software application and a database administration tool. For MySQL databases, it applies the JDBC application programming interface to interact with them via a JDBC driver.
Manticore allows you to use DBeaver for working with data stored in Manticore tables the same way as if it was stored in a MySQL database.
To start working with Manticore in DBeaver, follow these steps:
- Choose the
New database connection
option in DBeaver's UI - Choose
SQL
->MySQL
as DBeaver's database driver - Set the
Server host
andPort
options corresponding to the host and port of your Manticore instance (keep thedatabase
field empty) - Set
root/<empty password>
as authentication credentials
Since Manticore does not fully support MySQL, only a part of DBeaver's functionality is available when working with Manticore.
You will be able to:
- View, create, delete, and rename tables
- Add and drop table columns
- Insert, delete, and update column data
You will not be able to:
- Use database integrity check mechanisms (
MyISAM
will be set as the only storage engine available) - Use MySQL procedures, triggers, events, etc.
- Manage database users
- Set other database administration options
Some MySQL data types are not currently supported by Manticore and, therefore, cannot be used when creating a new table with DBeaver. Also, a few of the supported data types are converted to the most similar Manticore types with type precision being ignored in such conversion. Below is the list of supported MySQL data types as well as the Manticore types they are mapped to:
BIGINT UNSIGNED
=>bigint
BOOL
=>boolean
DATE
,DATETIME
,TIMESTAMP
=>timestamp
FLOAT
=>float
INT
=>int
INT UNSIGNED
,SMALLINT UNSIGNED
,TINYINT UNSIGNED
,BIT
=>uint
JSON
=>json
TEXT
,LONGTEXT
,MEDIUMTEXT
,TINYTEXT
,BLOB
,LONGBLOB
,MEDIUMBLOB
,TINYBLOB
=>text
VARCHAR
,LONG VARCHAR
,BINARY
,CHAR
,VARBINARY
,LONG VARBINARY
=>string
You can find more details about Manticore data types here.
Manticore is able to handle the DATE
, DATETIME
and TIMESTAMP
data types, however, this reqiures Manticore's Buddy enabled. Otherwise, an attempt to operate with one of these types will result in an error.
Note that the TIME
type is not supported.
-
DBeaver's
Preferences
->Connections
->Client identification
option must not be turned off or overridden. To work correctly with DBeaver, Manticore needs to distinguish its requests from others. For this, it uses client notification info sent by DBeaver in request headers. Disabling client notification will break that detection and, therefore, Manticore's correct functionality. -
When trying to update data in your table for the first time, you'll see the
No unique key
popup message and will be asked to define a custom unique key. When you get this message, perform the following steps:- Choose the
Custom Unique Key
option - Choose only the
id
column in the columns list - Press
Ok
After that, you'll be able to update your data safely.
- Choose the
NOTE: The integration with Apache Superset requires Manticore Buddy. If it doesn't work, make sure Buddy is installed.
Apache Superset is a modern data exploration and visualization platform. Manticore Search can be integrated with Apache Superset, allowing users to harness the full potential of Manticore Search for data analysis and visualization.
Note: This integration works only with Apache Superset 3.x branch and is not yet available for version 4 or newer.
Before integrating Manticore Search with Apache Superset, ensure that:
- Manticore Search (version 6.2.0 or later) is properly installed and configured on your server. Refer to the official Manticore Search installation guide for assistance.
- Apache Superset is set up on your system. Follow the official Apache Superset installation guide for installation instructions.
To connect Manticore Search to Apache Superset:
- Log in to your Apache Superset dashboard.
- Click on "+" in the top navigation bar and choose "Database Connections".
- Click "+ DATABASE" to add a new database.
- Select "MySQL" as the database type.
- In the configuration page, provide the following details:
- Database Name: A name for the database (e.g., "Manticore")
- Host: Your Manticore Search server host
- Port: The port on which Manticore Search is running
- Username: Your Manticore Search username
- Display Name: A display name for the connection
- Click "Connect" to verify the connection and save.
After connecting Manticore Search to Apache Superset, you can create charts and dashboards using your Manticore data:
- In the Apache Superset dashboard, click on "Dashboards" in the top navigation bar and select "New dashboard".
- Open the dashboard and click on the "+" icon to add a new chart.
- Choose the dataset connected to Manticore Search.
- Select the type of chart you want to create (e.g., bar chart, line chart, pie chart).
- Use Apache Superset's query builder or write an SQL query to fetch data from your Manticore Search database.
- Customize the chart's appearance, labels, and other settings as needed.
- Click "UPDATE CHART" to update the chart.
- Add a name for the chart and click "Save" to permanently save it in the Dashboard.
When working with Manticore Search through Apache Superset, you can:
- View and query data from Manticore Search tables
- Create various types of visualizations based on your Manticore data
- Build and customize dashboards using these visualizations
Manticore Search data types are mapped to MySQL data types when working with Apache Superset. Refer to the Manticore Search documentation for more details on supported data types and their mappings.
- Some advanced MySQL features may not be available when working with Manticore Search through Apache Superset.
- Certain data manipulation operations might be limited compared to working directly with MySQL databases.
By following these steps and guidelines, you can effectively integrate Manticore Search with Apache Superset for powerful data exploration and visualization capabilities.
Please refer to the following resources for more information on Apache Superset and Manticore Search: