CreateDatabase help
Posted: Wed 13 Dec 2006 18:08
I need to create a new Firebird V2 database using IBDAC, for a clean installation of Firebird (i.e. the system does not contain any Firebird databases, other than security2.fdb).
Could you advise if this is possible as I cannot connect to Firebird unless I specify something for TIBConnection.Database...?
I also can’t see how to specify the database name to be created in TIBConnection.CreateDatabase method?
IBCConnection1.Params.Add('user_name=sysdba');
IBCConnection1.Params.Add('password=masterkey');
IBCConnection1.Params.Add('lc_ctype=WIN1252');
IBCConnection1.Params.Add('PAGE_SIZE=4096');
IBCConnection1.Username := 'SYSDBA';
IBCConnection1.Password := 'masterkey';
IBCConnection1.Server := '127.0.0.1';
IBCConnection1.CreateDatabase;
Kind Regards,
Keith Blows
Could you advise if this is possible as I cannot connect to Firebird unless I specify something for TIBConnection.Database...?
I also can’t see how to specify the database name to be created in TIBConnection.CreateDatabase method?
IBCConnection1.Params.Add('user_name=sysdba');
IBCConnection1.Params.Add('password=masterkey');
IBCConnection1.Params.Add('lc_ctype=WIN1252');
IBCConnection1.Params.Add('PAGE_SIZE=4096');
IBCConnection1.Username := 'SYSDBA';
IBCConnection1.Password := 'masterkey';
IBCConnection1.Server := '127.0.0.1';
IBCConnection1.CreateDatabase;
Kind Regards,
Keith Blows