MariaDB / MySQL DB

You can quickly import data from your MySQL Database into Exploratory.

1. Create a Connection to use

Create a connection following this instruction.

  • Whether the connection is SSL or not is automatically detected.

2. Open MariaDB (MySQL) Import dialog

Click '+' button next to 'Data Frames' and select 'Import Database Data'.

Click MySQL.

3. Import

  1. Select connection from left dialog box.

  2. Write a query in the input field.

  3. Click "Preview" button. Then you will see the preview of the data.

  4. Click "Import" button.

4. Using Parameters in SQL

First, click Parameter link on the SQL Data Import Dialog.

Second, define a parameter and click Save button.

Finally, you can use @{} to surround a variable name inside the query like below.

select *
from airline_2016_01
where carrier = @{carrier}

If you type @ then it suggests parameters like below.

Here's a blog post for more detail.

5. AWS Security Group Setup (Only for Amazon RDS)

If you are using Amazon RDS as your MySQL database, and encounter a database connection error, please go to AWS console and make sure you added your client PC's IP address to an inbound rule for your DB Security Group associated with the MySQL database instance.

6. Number of rows

From performance point of view, we no longer show actual number of rows which can be only fetched by executing whole query again.

If you still want to show the actual number of query for your query, you can do so by setting System Configuration.

Then set "Yes" For "Show Actual Number of Rows on SQL Data Import Dialog"

This will show you Actual Number of Rows like below.

Last updated