How to import all tables in a mysql database
Hi,
Our use case is that we have a mysql database with about 200 tables in, one for each event that we track. We would like to mirror those tables in domo.
We have been able to do this with individual tables, by simply setting up the datasource in the GUI with 'select * from event_table_1 where timestamp > curdate()' and setting it to append every day. This loads in the previous day's data once a day, which is satisfactory for us.
What would be the best way to set up 200 tables like this, though? Clearly we don't want to go through manually and set them all up. On the other hand, the DataSet api doesn't look right, because we want to push the data through the api, we just want to set up datasources, configured with sql commands to execute against our mysql data, as we can in the GUI. We also don't want to have to specify a schema - we want this to be figured out automatically and to get updated when we add new columns to a table. Our current 'select *' command works fine for this.
So short question - how to set up multiple imports from a mysql database programatically?
Many thanks for your help!
Comments
-
*because we DON'T want to push the data through the api
0 -
Anyone? ?
0 -
I have the same question - did you ever figure anything out?
Thx!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive