VB.net Connecting to Google cloud SQL

Murray Brown
Murray Brown used Ask the Experts™

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

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

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

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

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014
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


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