mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

Support MySQL data source #792

Closed oliviertassinari closed 1 year ago

oliviertassinari commented 2 years ago

Duplicates

Latest version

Summary 💡

No response

Examples 🌈

No response

Motivation 🔦

No response

Janpot commented 1 year ago

I believe this will be very similar to the postgres datasource. Perhaps it makes sense to create an abstract SQL datasource that we can both base postgres and MySql on?

oliviertassinari commented 1 year ago

@Janpot Metabase is open sourced, we could check how https://www.metabase.com/data_sources/ did it, same for Pipedream, Appsmith, etc. 😁

oliviertassinari commented 1 year ago

I had to embed Metabase inside a Toolpad app to make this one work: https://www.notion.so/mui-org/KPIs-1ce9658b85ce4628a2a2ed2ae74ff69c

Screenshot 2023-01-19 at 20 20 14

I will remove Metabase once MySQL is supported in Toolpad. The issue is that Metabase doesn't support embedding inside Notion and only has a gauge, which takes up too much height.

oliviertassinari commented 1 year ago

I will remove Metabase once MySQL is supported in Toolpad.

Actually no, I can't use the feature without https://github.com/mui/mui-toolpad/issues/869.