]>
git.datanom.net - pwp.git/blob - app/DB/mysqld.py
1 import mysql
.connector
as mysql
5 def __init__(self
, database
, user
, password
, host
, port
):
9 self
.conn
= mysql
.connect(database
=database
, user
=user
, password
=password
, host
=host
, port
=port
)
10 except mysql
.Error
as e
:
This page took 0.102995 seconds and 6 git commands to generate.