sqlalchemy - Authorization error: migrating db for Google cloud SQL -
i've been trying make db using google cloud sql, got error when migrating db.
python manager.py db init
works well: folder named migrations
made.
however, python manager.py db migrate
produces error:
file "/usr/local/google_appengine/google/storage/speckle/python/api/rdbms.py", line 946, in makerequest raise _todbapiexception(response.sql_exception) sqlalchemy.exc.internalerror: (internalerror) (0, u'end user google account not authorized.') none none
it looks kind of authorization errors. how should solve it?
former authentication information saved in file, '.googlesql_oauth2.dat', if had been authorized different id.
in case, have remove file before authentication process performed.
mac:
~/.googlesql_oauth2.dat
windows:
%userprofile%\.googlesql_oauth2.dat
Comments
Post a Comment