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')
def init_databse(self): uu = UtilDb("192.168.1.100", "alexandr", "rfqkfc") uu.init_db() uu.init_tables()