Google Cloud SQL - ERROR 2003 (HY000): Can't connect to MySQL -


i trying connect google cloud sql using command line.
can connect when @ home , set static ip address. however, have on road next few days , can't @ home. hoping connect mysql , make changes needed on server through hotspot on phone, happy type of internet connection working. how can connect google cloud sql though keep getting error as,

error 2003 (hy000): can't connect mysql on server ...

  1. i tried creating google compute engine vm instance , setting static ip address , connection mysql through that, doesn't work.
  2. i make sure everytime authorize appropriate ip address, connecting from.

i scratching head , cannot figure out why won't let me connect @ home though authorize other ip address have ever tried connect from.

so whatever reason, able connect if requested ipv4 address (costs $0.01 hour) , used connect instead of free ipv6 address, connect anywhere. otherwise can connect cloud sql when using free ipv6 address @ home. check out screen shot below see button press on cloud sql page > access control > ip addresses in order request ipv4 address , able connect ip address.

enter image description here


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -