Subject | how create a gdb by delphi? |
---|---|
Author | enio_bueno |
Post date | 2002-01-12T22:18:35Z |
hi
I'm try create a gdb from TIBDataBase.
I'm doing the following
ib.Params.Add('user_name=SYSDBA');
ib.Params.Add('password=my_password');
ib.Params.Add('lc_ctype=WIN1252');
ib.DatabaseName := 'C:\FILE.GDB';
ib.CreateDatabase;
When I exec "ib.CreateDatabase" I receive this message "Your user
name and password are not defined. Ask your database administrator to
set up an InterBase login..."
I'm have sure the user and password is correct.
I already try "ib.DatabaseName := 'computer_name:C:\FILE.GDB';"
What I must to do to create this gdb???
thanks to all.
I'm try create a gdb from TIBDataBase.
I'm doing the following
ib.Params.Add('user_name=SYSDBA');
ib.Params.Add('password=my_password');
ib.Params.Add('lc_ctype=WIN1252');
ib.DatabaseName := 'C:\FILE.GDB';
ib.CreateDatabase;
When I exec "ib.CreateDatabase" I receive this message "Your user
name and password are not defined. Ask your database administrator to
set up an InterBase login..."
I'm have sure the user and password is correct.
I already try "ib.DatabaseName := 'computer_name:C:\FILE.GDB';"
What I must to do to create this gdb???
thanks to all.