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