VB.net Connecting to Google cloud SQL

Murray Brown
Murray Brown used Ask the Experts™
on
Hi

I am trying to connect to a Google Cloud SQL database using the following connection strings and am getting the following errors:

Server=173.194.240.189;Database=testdb;User Id=root;Password=xxxx;
"Could not open connection" or similar.

Server=173.194.240.189\sace-sql:energy;Database=testdb;User Id=root;Password=xxxx;
"Connection string not valid".  I think this is a step closer to working.

Server=173.194.240.189\sace-sql;Database=testdb;User Id=root;Password=xxxx;
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014
Commented:
In your more recent questions, you have mentioned that you are trying to connect to MySQL in GCloud. If that's the case, you need to use MySQL connector and this connection string should work.
Murray BrownASP.net/VSTO Developer

Author

Commented:
Thanks very much

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial