import cgi
import webapp2
from google.appengine.api import rdbms
and
def get_connection():
return rdbms.connect(instance=CLOUDSQL_INSTANCE, database=DATABASE_NAME,
user=USER_NAME, password=PASSWORD, charset='utf8')
and
conn = get_connection()
cursor = conn.cursor()
cursor.execute('select * from ...
This is the error I get:
File "C:\Python27\lib\site-packages\MySQLdb\__init__.py", line 81, in Connect
File "C:\Python27\lib\site-packages\MySQLdb\connections.py", line 187, in __init__
OperationalError: (2004, "Can't create TCP/IP socket (10104)")
Please Help!!!!!!!
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