cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Querying Mysql db from Azure databricks where public access is disabled

ashraf1395
Contributor II

Hi there,

We are trying to setup a infra that ingest data from MySQL hosted on awa EC2 instance with pyspark and azure databricks and dump to the adls storage.

Since databases has public accessibility disabled and how can I interact with MySQL from azure databricks?

 

Major challenge is public accessiblity disabled. Querying MySQL normally is doable

1 ACCEPTED SOLUTION

Accepted Solutions

-werners-
Esteemed Contributor III

you will need some kind of tunnel that opens the db server to external access.
Perhaps a vpn is an option?
If not: won't be possible.
An alternative way would be to have some local LAN tool extract the data and then move it to S3/... and afterwards let Databricks pick up those files.
If I'm not mistaken, Databricks is integrating ETL functionality in their platform (I think it is in private preview), so it might be possible in the future (although you would still need some kind of opening to the public facing internet using a gateway/vpn whatever).

View solution in original post

1 REPLY 1

-werners-
Esteemed Contributor III

you will need some kind of tunnel that opens the db server to external access.
Perhaps a vpn is an option?
If not: won't be possible.
An alternative way would be to have some local LAN tool extract the data and then move it to S3/... and afterwards let Databricks pick up those files.
If I'm not mistaken, Databricks is integrating ETL functionality in their platform (I think it is in private preview), so it might be possible in the future (although you would still need some kind of opening to the public facing internet using a gateway/vpn whatever).

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group