I am getting following error after uploading the application on google app engine. But on my local machine everything is working fine
OperationalError at /users/
(2004, "Can't create TCP/IP socket (-1)")
Request Method: GET
Request URL: http://arctic-anvil-728.appspot.com/users/
Django Version: 1.4.13
Exception Type: OperationalError
Exception Value:
(2004, "Can't create TCP/IP socket (-1)")
Exception Location: /base/data/home/runtimes/python27/python27_lib/versions/third_party/MySQLdb-1.2.4b4/MySQLdb/connections.py in __init__, line 190
Python Executable: /base/data/home/runtimes/python27/python27_dist/python
Python Version: 2.7.5
Python Path:
['/base/data/home/apps/s~arctic-anvil-728/1.379355097665075133',
'/base/data/home/runtimes/python27/python27_dist/lib/python27.zip',
'/base/data/home/runtimes/python27/python27_dist/lib/python2.7',
'/base/data/home/runtimes/python27/python27_dist/lib/python2.7/plat-linux2',
'/base/data/home/runtimes/python27/python27_dist/lib/python2.7/lib-tk',
'/base/data/home/runtimes/python27/python27_dist/lib/python2.7/lib-old',
'/base/data/home/runtimes/python27/python27_dist/lib/python2.7/lib-dynload',
'/base/data/home/runtimes/python27/python27_dist/lib/python2.7/site-packages',
'/base/data/home/runtimes/python27/python27_lib/versions/1',
'/base/data/home/runtimes/python27/python27_lib/versions/third_party/MySQLdb-1.2.4b4',
'/base/data/home/runtimes/python27/python27_lib/versions/third_party/django-1.4',
'/base/data/home/runtimes/python27/python27_lib/versions/third_party/protorpc-1.0',
'/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3',
'/base/data/home/runtimes/python27/python27_lib/versions/third_party/webob-1.1.1',
'/base/data/home/runtimes/python27/python27_lib/versions/third_party/yaml-3.10']
Server time: Mon, 13 Oct 2014 13:45:19 +0000
Please help me to solve this issue.
Thanks in Advance
Please take a look at the documentation. You should be using unix_socket when connecting from App Engine.