Have been unable to connect to Cloud SQL so far in Python (I can do it in raw Go). Sébastien reminded me <https://groups.google.com/d/msg/web2py/kN9La8WKahA/SeqLCRbnBAAJ> about installing the Python MySQLdb lib <https://pypi.python.org/pypi/MySQL-python/1.2.5>. Still no luck, but it got me thinking. When I did an >>> import MySQLdb at the Python prompt I noticed some errors. Can anyone help discern what it means? I am developing under OS X so that part's not wrong. I don't know if libmysqlclient.18.dylib is required or what.
File "<stdin>", line 1, in <module> File "build/bdist.macosx-10.11-intel/egg/MySQLdb/__init__.py", line 19, in <module> File "build/bdist.macosx-10.11-intel/egg/_mysql.py", line 7, in <module> File "build/bdist.macosx-10.11-intel/egg/_mysql.py", line 6, in __bootstrap__ ImportError: dlopen(/Users/tom/.python-eggs/MySQL_python-1.2.5-py2.7-macosx-10.11-intel.egg-tmp/_mysql.so, 2): Library not loaded: libmysqlclient.18.dylib Referenced from: /Users/tom/.python-eggs/MySQL_python-1.2.5-py2.7-macosx-10.11-intel.egg-tmp/_mysql.so Reason: unsafe use of relative rpath libmysqlclient.18.dylib in /Users/tom/.python-eggs/MySQL_python-1.2.5-py2.7-macosx-10.11-intel.egg-tmp/_mysql.so with restricted binary -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.