예제 #1
0
 def __init__(self, host, user, pas):
     # host of mySql
     self.host = host
     # user for mySql
     self.user = user
     # password for mySql
     self.password = pas
     uu = UtilDb(host, user, pas)
     self.gl_conn = uu.connect('for_szn')
예제 #2
0
def init_databse(self):
    uu = UtilDb("192.168.1.100", "alexandr", "rfqkfc")
    uu.init_db()
    uu.init_tables()