这个错误是什么呢?
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
ponse = self.full_dispatch_request() File "/code/flask/app.py", line 1822, in full_dispatch_request rv = self.handle_user_exception(e) File "/code/flask/app.py", line 1820, in full_dispatch_request rv = self.dispatch_request() File "/code/flask/app.py", line 1796, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/code/index.py", line 420, in index if adj.first(): File "/code/sqlalchemy/orm/query.py", line 2824, in first return self.limit(1)._iter().first() File "/code/sqlalchemy/orm/query.py", line 2916, in _iter result = self.session.execute( File "/code/sqlalchemy/orm/session.py", line 1713, in execute conn = self._connection_for_bind(bind) File "/code/sqlalchemy/orm/session.py", line 1552, in _connection_for_bind return self._transaction._connection_for_bind( File "/code/sqlalchemy/orm/session.py", line 747, in _connection_for_bind conn = bind.connect() File "/code/sqlalchemy/engine/base.py", line 3315, in connect return self._connection_cls(self, close_with_result=close_with_result) File "/code/sqlalchemy/engine/base.py", line 96, in init else engine.raw_connection() File "/code/sqlalchemy/engine/base.py", line 3394, in raw_connection return self._wrap_pool_connect(self.pool.connect, _connection) File "/code/sqlalchemy/engine/base.py", line 3364, in _wrap_pool_connect Connection.handle_dbapi_exception_noconnection( File "/code/sqlalchemy/engine/base.py", line 2198, in handle_dbapi_exception_noconnection util.raise( File "/code/sqlalchemy/util/compat.py", line 211, in raise raise exception File "/code/sqlalchemy/engine/base.py", line 3361, in _wrap_pool_connect return fn() File "/code/sqlalchemy/pool/base.py", line 327, in connect return _ConnectionFairy._checkout(self) File "/code/sqlalchemy/pool/base.py", line 894, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/code/sqlalchemy/pool/base.py", line 493, in checkout rec = pool._do_get() File "/code/sqlalchemy/pool/impl.py", line 146, in do_get self.dec_overflow() File "/code/sqlalchemy/util/langhelpers.py", line 70, in exit compat.raise( File "/code/sqlalchemy/util/compat.py", line 211, in raise raise exception File "/code/sqlalchemy/pool/impl.py", line 143, in _do_get return self._create_connection() File "/code/sqlalchemy/pool/base.py", line 273, in _create_connection return _ConnectionRecord(self) File "/code/sqlalchemy/pool/base.py", line 388, in init self.__connect() File "/code/sqlalchemy/pool/base.py", line 691, in connect pool.logger.debug("Error on connect(): %s", e) File "/code/sqlalchemy/util/langhelpers.py", line 70, in exit compat.raise( File "/code/sqlalchemy/util/compat.py", line 211, in raise raise exception File "/code/sqlalchemy/pool/base.py", line 686, in __connect self.dbapi_connection = connection = pool._invoke_creator(self) File "/code/sqlalchemy/engine/create.py", line 578, in connect return dialect.connect(*cargs, **cparams) File "/code/sqlalchemy/engine/default.py", line 598, in connect return self.dbapi.connect(*cargs, **cparams) File "/code/pymysql/connections.py", line 353, in init self.connect() File "/code/pymysql/connections.py", line 633, in connect self._request_authentication() File "/code/pymysql/connections.py", line 907, in _request_authentication auth_packet = self._read_packet() File "/code/pymysql/connections.py", line 725, in _read_packet packet.raise_for_error() File "/code/pymysql/protocol.py", line 221, in raise_for_error err.raise_mysql_exception(self._data) File "/code/pymysql/err.py", line 143, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1045, "Access denied for user 'root'@'100.120.206.76' (using password: YES)") (Background on this error at: https://sqlalche.me/e/14/e3q8)FC Invoke End RequestId: 1-641fef06-699a4d4aaccf86bd78632658
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。