Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Connects a database with the given parameters

src/f/p/fpdb-grindi-HEAD/pyfpdb/GuiDatabase.py   fpdb-grindi(Download)
            # add noDbTables flag to db.py?
            log.debug(_("testDB: trying to connect to: %s/%s, %s, %s/%s") % (str(dbms_num),dbms,name,user,passwd))
            db.connect(backend=dbms_num, host=host, database=name, user=user, password=passwd, create=False)
            if db.connected:
                log.debug(_("         connected ok"))

src/f/p/fpdb-sql-HEAD/pyfpdb/GuiDatabase.py   fpdb-sql(Download)
            # add noDbTables flag to db.py?
            log.debug(_("testDB: trying to connect to: %s/%s, %s, %s/%s") % (str(dbms_num),dbms,name,user,passwd))
            db.connect(backend=dbms_num, host=host, database=name, user=user, password=passwd, create=False)
            if db.connected:
                log.debug(_("         connected ok"))

src/f/p/fpdb-HEAD/pyfpdb/GuiDatabase.py   fpdb(Download)
            # add noDbTables flag to db.py?
            log.debug("testDB: " + _("trying to connect to:") + " %s/%s, %s, %s/%s" % (str(dbms_num),dbms,name,user,passwd))
            db.connect(backend=dbms_num, host=host, database=name, user=user, password=passwd, create=False)
            if db.connected:
                log.debug(_("connected ok"))

src/f/p/fpdb-chaz-HEAD/pyfpdb/GuiDatabase.py   fpdb-chaz(Download)
            # add noDbTables flag to db.py?
            log.debug("testDB: " + _("trying to connect to:") + " %s/%s, %s, %s/%s" % (str(dbms_num),dbms,name,user,passwd))
            db.connect(backend=dbms_num, host=host, database=name, user=user, password=passwd, create=False)
            if db.connected:
                log.debug(_("connected ok"))