How to connect Metabase Heroku with mysql(Localhost)?


#1

I was trying to connect Mysql running on localhost with metabase on heroku but it wasn’t connecting. Can anyone tell me why is it happening and how will I be able to connect Mysql on localhost with metabase on heroku.


#2

Hi @Kamran
So you have Metabase on Heroku to connect to MySQL running on your local computer?
That would require some sort of tunnel between the two - not a recommended setup.
Why don’t you run Metabase on your local computer by using the JAR-file?


#3

I won’t be able to share the dashboard to someone else that’s the issue. I switched to heroku because of the same reason but here i am not able to connect with database.
Can we publish or share dashboard online while running it on localhost??


#4

@Kamran
You can share your localhost with one of the following options:
https://ngrok.com/
https://localtunnel.github.io/www/
http://localhost.run/
Not quite the most optimal solution, but I guess it would work, if you don’t have a public IP.