I'm on a journey trying to connect Data Fusion with Cloud SQL MySQL with private IP. I've read many ressources and it seems that it is possible (at least I'm still not convinced that it is not possible). What I have so far:
- a Data Fusion private instance with a private IP.
- a Cloud SQL for MySQL instance with private IP.
- a Cloud SQL Proxy deployed on a virtual machine.
- everything is connected to the same default VPC network.
- firewall fully open (Ingress, Egress on IP ranges: 0.0.0.0/0 and all protocal ports)
from my VM instance I can connect to the MySQL db using the following command mysql -u root –host 127.0.0.1 –port 3306
. When trying to use the same parameters in Cloud Fusion I'm not able to establish the connection. What should, what can I check to make sure that all this is correctly setup.
EDIT
I've initially accepted the answer from Ajai but then unaccepted it as I'm not able to make the connection work in a new project. There is probably an element, something that's need to be done somewhere, that is missing here.