On Wed, Feb 06, 2008 at 07:19:52PM +0100, Petr Jake?? wrote:
> > import kinterbasdb
> > > con = kinterbasdb.create_database("create database '%s' user 'sysdba'
> > > password 'masterkey'" % db_filename)
> >
> While you install Firebird (not the database or table), you have to set the
> Firebird user and password (you can call it "superuser" if you want).
> Than you can get "superuser" connection to the Firebird server using this
> user/password and you can create the database.
> Other users and passwords can be set as well of course.

   So the code should be (providing that SQLObject's connection knows the
user as self.user and self.password):

con = kinterbasdb.create_database("create database '%s' user '%s' password 
'%s'" % (self.db, self.user, self.password)

   ?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to