mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-22 17:39:02 +00:00
17 lines
383 B
Python
17 lines
383 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from dbgpt.datasource.rdbms.base import RDBMSDatabase
|
|
|
|
|
|
class MySQLConnect(RDBMSDatabase):
|
|
"""Connect MySQL Database fetch MetaData
|
|
Args:
|
|
Usage:
|
|
"""
|
|
|
|
db_type: str = "mysql"
|
|
db_dialect: str = "mysql"
|
|
driver: str = "mysql+pymysql"
|
|
|
|
default_db = ["information_schema", "performance_schema", "sys", "mysql"]
|