Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting to Google cloud SQL through my local machine

I want to connect to my Google cloud SQL instance through MySQL workbench installed on my local machine. Using ipconfig, I determined the IPV4 address of my machine, but when I am trying to enter that IP address in

Edit > Access control > Authorization,

I get a message that Private networks cannot be whitelisted.

Any idea on how to solve this?

like image 277
harshvardhan Avatar asked Mar 26 '26 22:03

harshvardhan


1 Answers

You need to add your public IP, not your (link) local one. You can find out your public IP for example on http://whatismyip.com/.

like image 62
Jakuje Avatar answered Mar 28 '26 11:03

Jakuje



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!