SILENT KILLERPanel

Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > > sqlalchemy > dialects > > mysql


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/venv/lib64/python3.11/site-packages//sqlalchemy/dialects//mysql

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 2056 bytes April 17 2025 13:10:58.
base.py File 107282 bytes April 17 2025 13:10:58.
cymysql.py File 2244 bytes April 17 2025 13:10:58.
dml.py File 4764 bytes April 17 2025 13:10:58.
enumerated.py File 11307 bytes April 17 2025 13:10:58.
gaerdbms.py File 3375 bytes April 17 2025 13:10:58.
json.py File 2045 bytes April 17 2025 13:10:58.
mysqlconnector.py File 7889 bytes April 17 2025 13:10:58.
mysqldb.py File 8504 bytes April 17 2025 13:10:58.
oursql.py File 8086 bytes April 17 2025 13:10:58.
provision.py File 1269 bytes April 17 2025 13:10:58.
pymysql.py File 2720 bytes April 17 2025 13:10:58.
pyodbc.py File 3470 bytes April 17 2025 13:10:58.
reflection.py File 18275 bytes April 17 2025 13:10:58.
types.py File 24589 bytes April 17 2025 13:10:58.
zxjdbc.py File 3970 bytes April 17 2025 13:10:58.

Reading File: //opt/cloudlinux/venv/lib64/python3.11/site-packages//sqlalchemy/dialects//mysql/provision.py

from ...testing.provision import configure_follower
from ...testing.provision import create_db
from ...testing.provision import drop_db
from ...testing.provision import temp_table_keyword_args


@create_db.for_db("mysql")
def _mysql_create_db(cfg, eng, ident):
    with eng.connect() as conn:
        try:
            _mysql_drop_db(cfg, conn, ident)
        except Exception:
            pass

        conn.execute("CREATE DATABASE %s CHARACTER SET utf8mb4" % ident)
        conn.execute(
            "CREATE DATABASE %s_test_schema CHARACTER SET utf8mb4" % ident
        )
        conn.execute(
            "CREATE DATABASE %s_test_schema_2 CHARACTER SET utf8mb4" % ident
        )


@configure_follower.for_db("mysql")
def _mysql_configure_follower(config, ident):
    config.test_schema = "%s_test_schema" % ident
    config.test_schema_2 = "%s_test_schema_2" % ident


@drop_db.for_db("mysql")
def _mysql_drop_db(cfg, eng, ident):
    with eng.connect() as conn:
        conn.execute("DROP DATABASE %s_test_schema" % ident)
        conn.execute("DROP DATABASE %s_test_schema_2" % ident)
        conn.execute("DROP DATABASE %s" % ident)


@temp_table_keyword_args.for_db("mysql")
def _mysql_temp_table_keyword_args(cfg, eng):
    return {"prefixes": ["TEMPORARY"]}

SILENT KILLER Tool