Files
vpsx-fast/app/dependencies/engine.py
Bernhard Radermacher (hakisto) 5300c35429 users and status working
2025-08-29 18:19:46 +02:00

12 lines
238 B
Python

from sqlalchemy import create_engine
# engine_url="sqlite+pysqlite:///vpsx.db"
engine_url="mariadb+pymysql://fast:fast@localhost/fast_vpsx?charset=utf8mb4"
def get_engine():
return create_engine(engine_url)
engine = get_engine()