Replies: 1 comment
-
回滚是不是只支持MYSQL ? MYSQL需要配置goInception ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[2024-09-10 16:27:17,706][MainThread:140071666870080][task_id:default][oracle.py:1372][ERROR]- 获取回滚语句报错,异常信息Traceback (most recent call last):
File "/opt/archery/sql/engines/oracle.py", line 1360, in get_rollback
conn = self.get_backup_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/archery/sql/engines/oracle.py", line 71, in get_backup_connection
return MySQLdb.connect(
^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/init.py", line 121, in Connect
return Connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/connections.py", line 195, in init
super().init(*args, **kwargs2)
TypeError: connect() argument 1 must be str, not None
2024-09-10 16:27:17,706 - default - ERROR - 获取回滚语句报错,异常信息Traceback (most recent call last):
File "/opt/archery/sql/engines/oracle.py", line 1360, in get_rollback
conn = self.get_backup_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/archery/sql/engines/oracle.py", line 71, in get_backup_connection
return MySQLdb.connect(
^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/init.py", line 121, in Connect
return Connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/connections.py", line 195, in init
super().init(*args, **kwargs2)
TypeError: connect() argument 1 must be str, not None
[2024-09-10 16:27:17,707][MainThread:140071666870080][task_id:default][sql_workflow.py:191][ERROR]- Traceback (most recent call last):
File "/opt/archery/sql/engines/oracle.py", line 1360, in get_rollback
conn = self.get_backup_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/archery/sql/engines/oracle.py", line 71, in get_backup_connection
return MySQLdb.connect(
^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/init.py", line 121, in Connect
return Connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/connections.py", line 195, in init
super().init(*args, **kwargs2)
TypeError: connect() argument 1 must be str, not None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/archery/sql/sql_workflow.py", line 189, in backup_sql
list_backup_sql = query_engine.get_rollback(workflow=workflow)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/archery/sql/engines/oracle.py", line 1373, in get_rollback
raise Exception(e)
Exception: connect() argument 1 must be str, not None
2024-09-10 16:27:17,707 - default - ERROR - Traceback (most recent call last):
File "/opt/archery/sql/engines/oracle.py", line 1360, in get_rollback
conn = self.get_backup_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/archery/sql/engines/oracle.py", line 71, in get_backup_connection
return MySQLdb.connect(
^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/init.py", line 121, in Connect
return Connection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv4archery/lib/python3.11/site-packages/MySQLdb/connections.py", line 195, in init
super().init(*args, **kwargs2)
TypeError: connect() argument 1 must be str, not None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/archery/sql/sql_workflow.py", line 189, in backup_sql
list_backup_sql = query_engine.get_rollback(workflow=workflow)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/archery/sql/engines/oracle.py", line 1373, in get_rollback
raise Exception(e)
Exception: connect() argument 1 must be str, not None
是需要配置什么才能使用吗?
Beta Was this translation helpful? Give feedback.
All reactions