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.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive