I am trying to set up a Lakehouse Federation connection to an Azure MySQL database. When I connect from a Databricks notebook using Python - mysql.connector, same cluster, it works fine.
But when I set up the Lakehouse Federation connection and test it, I get the following error:
"Error testing connection
Your request failed with status FAILED: [BAD_REQUEST] [CANNOT_ESTABLISH_CONNECTION] Cannot establish connection to remote MYSQL database. Please check connection information and credentials e.g. host, port, user, password and database options. ** If you believe the information is correct, please check your workspace's network setup and ensure it does not have outbound restrictions to the host. Please also check that the host does not block inbound connections from the network where the workspace's Spark clusters are deployed. ** Detailed error message: Could not connect to address=(host=<hostname>)(port=3306)(type=master) : (conn=2412345) Connections using insecure transport are prohibited while --require_secure_transport=ON.. SQLSTATE: 08001"