Subject Re: FBManager.createDatabase
Author Roman Rokytskyy
--- In Firebird-Java@y..., "fer9113002" <ferfdz@a...> wrote:
> I wish to know what is each parameter in the class
> FBManager.createDatabase(String, String, String)

This is example of how to create database:

String DB_SERVER_URL = "localhost";
int DB_SERVER_PORT = 3050;
String DB_PATH = "c:/database";
String DB_NAME = "test.gdb";
String DB_USER = "sysdba";
String DB_PASSWORD = "masterkey";

fbManager.setServer(DB_SERVER_URL);
fbManager.setPort(DB_SERVER_PORT);

fbManager.start();

fbManager.createDatabase(DB_PATH + "/" + DB_NAME, DB_USER,
DB_PASSWORD);


Best regards,
Roman Rokytskyy