Skip to content

Commit 8768349

Browse files
committed
feat: bk-plugin-runtime 支持使用 pymysql
1 parent 4169857 commit 8768349

3 files changed

Lines changed: 206 additions & 79 deletions

File tree

runtime/bk-plugin-runtime/bk_plugin_runtime/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"""
1212

1313
import os
14+
import pymysql
15+
16+
pymysql.install_as_MySQLdb()
1417

1518
# URL 配置模块
1619

0 commit comments

Comments
 (0)