Wednesday, February 20, 2013

Re: Can't create TCP/IP socket

Make sure you are importing the correct rdbms module.

Rob


On Wed, Feb 20, 2013 at 2:09 PM, <jcollins@qualitydistribution.com> wrote:
I'm trying to develop my first GAE Python app with the cloud sql. during development, I'm trying to connect to a local Mysql instance. In my development enviro I've tried to connect to both the cloud sql instance I've created, and my local. for both, I get this:

OperationalError: (2004, "Can't create TCP/IP socket (10104)")
Any ideas?
The code that calls it is this:

rdbms.connect(instance=CLOUDSQL_INSTANCE, database=DATABASE_NAME,          user=USER_NAME, password=PASSWORD, charset='utf8')

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment