예제 #1
0
 def __init__(self, uri, host, port, path, user, password):
     UriDatabaseConnection.__init__(
         self,
         dbms="mysql",
         database=path,
         uri=uri,
         host=host,
         port=port,
         user=user,
         password=password,
         subtitle="MySQL Connection",
     )
예제 #2
0
 def __init__(self, uri, host, port, path, user, password):
     UriDatabaseConnection.__init__(
         self,
         dbms="postgresql",
         database=path,
         uri=uri,
         host=host,
         port=port,
         user=user,
         password=password,
         subtitle="PostgreSQL Connection",
     )
     self._databases = None