Showing results for 
Show  only  | Search instead for 
Did you mean: 

Google Cloud SQL Database/ Go Daddy Hosting - Connection Issue

I have a website that is hosted on godaddy, and i am trying to connect to a database that is on google cloud.

I have set up my firewall correctly, but something is still not working. Does anyone know if godaddy has blocked this type of connection? 


I posted this same question in stack overflow:


Proof that my ip is setup correctly in google:


if you would like to see the site it is: Email:


My error log shows: [01-Jul-2019 20:55:46 UTC] PHP Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on 'xx.xx.xx.xx' (110) in {{directory}} on line 8 

Super User II



I'm willing to bet this kind of connection to a shared server will not work. You may need to get either a VPS or a Dedicated Server. I would advise contacting support and asking for the Hosting Department for assistance with this.

I am a GoDaddy End User - Just Like You
* Please note that I DO NOT answer private messages. Please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. If you contact me via PM for help, I will give you a price quote for my personal services. Thanks! *

Once your issue is resolved,
please be sure to come back and click accept for the solution

Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community