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

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: https://stackoverflow.com/questions/56798326/how-to-connect-to-google-cloud-sql-database-from-godadd...

 

Proof that my ip is setup correctly in google: otf.tdjdev1.com/img/tdj.jpg

 

if you would like to see the site it is: otf.tdjdev1.com Email: test1@test.com

 

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 

1 REPLY 1
Super User III
Super User III

Re: Google Cloud SQL Database/ Go Daddy Hosting - Connection Issue

@ahdavisj 

 

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
Check out my site! | I drink and I know things. Especially about websites and web hosting.
* Please note that I offer free advice on this forum. If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. 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