billing frontend for mariadb. setup as otb_billing for outsidethebox.top accounting. also involved with outsidethedb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import mysql.connector |
|
from config import Config |
|
|
|
def get_db_connection(): |
|
return mysql.connector.connect( |
|
host=Config.DB_HOST, |
|
port=Config.DB_PORT, |
|
user=Config.DB_USER, |
|
password=Config.DB_PASSWORD, |
|
database=Config.DB_NAME |
|
)
|
|
|