Populating Superset Caravel MySQL database tables with Data via Heroku

If you installed  your Superset (Caravel) BI Tool with Heroku and if you are finding it difficult to initially populate your MySQL database tables with Data and you will be using MySQL the default database that come with your installation, then you can follow these steps to get data into Superset.

(By the way, you may visit this post on quick guide to installing Superset with Heroku: Superset Caravel BI Tool Installation and Visualizations on Heroku)

  1. Log into your Heroku account and in the far right hand corner locate your account and click on Dashboard 
  2. You will see all your apps in the dashboard. 
  3. Click on Resources and click the “JawsDB MySQL” database. 
  4. You will get a window which will give  you all the parameters you will need to connect to  your Superset MySQL database 
  5. Follow the onscreen instruction and download and install MySQL Workbench 
  6. Once the MySQL Workbench is installed , you can now use the connections parameters provided to connect the workbench to your Superset MySQL database hosted on Heroku 
  7. Once you have filled all the sections and you have tested the connection and it works fine, connect to the database and check the schema inside the WorkBench
  8. The schema you will see in the MySQL Workbench will be same schema you will find in your Superset database. Example is as in this 
  9. Now you can create your tables in the schema and insert data into it all inside the Workbench. (If you want to experiment with sample data, you can generate some from here with a complete insert statements. Visit this site) After that click on the refresh button next to the word SCHEMA. 
  10.  You can preview your newly created table and check your data in the WorkBench 
  11. Once data is showing fine in your MySQL Workbench you can visit SuperSet SQL Lab and check your data showing there 
  12. You can then follow the Superset tutorial to start your visualizations
  13. Below is a “playaround” dashboard, generated with Superset installation on Heroku
Want more information like this?

Similar Posts

  • | |

    How To Use ER Assistant – FREE Entity Relationship Diagram (ERD) Creation Tool

    There are a lot of ER Diagram Tools. However, by far, one of the favourite ones I use is the ER Assistant which is also free. You can download the ER Assistant free software from here: ER Assistant Download. Install the program after download. In this post, we will learn how to Create Entities Create…

  • Superset Caravel BI Tool Installation and Visualizations on Heroku

    Superset (formerly called Caravel ) BI Tool by  http://airbnb.io/superset  is a free Data Visualization tool which you can harness its powers for your visualization analytic needs. If you are finding problems installing on your windows PC or you simply want your own online version you can simply sign up FREE with Heroku (at least choosing…

  • |

    Data Analytics Framework – Simple Short Notes For Aspiring Data Analysts

    In the process of Data Analysis, sometimes, we are too engrossed and happy about the available data and try to jump straight into the data and make a lot of analysis and then later try to fit our analysis round business problems whether or not they exist. Hence we try to even make up problems…

  • |

    Rank a Place Visited By a Customer- Microsoft SQL Server – T-Transact

    This is a short guide to getting ranking or rating from Microsoft Sql Server customers. Ranking is taken by checking how many times a customer has visited a particular country divided by the total number of travels the customer has made within the database  

        Want more information like this?

  • Matplotlib Pyplot Plt Python Pandas Data Visualization Plotting

      This is some quick notes about graphing or plotting graphs with Matplotlib in Python. Credits to sentdex.  You can check him out on Youtube.

      In [4]:

      In [10]:

      In [14]:

      In [20]:

      In [23]:

      In [30]:

      Out[30]:

    In [48]:

        Want more information like this?

  • Structured Pyramid Analysis Plan SMART GOAL Data Analysis

    The key advice for any Data Analysis project is to never start any analysis without first having a structured plan. You should set your goals and they should be S.M.A.R.T   Below are the two charts to help with Analysis. This is part of Data Visualization and Communication with Tableau  by Duke University on Coursera. Set your…

Leave a Reply

Your email address will not be published. Required fields are marked *