Subject | Re: FBManager.createDatabase |
---|---|
Author | Roman Rokytskyy |
Post date | 2002-11-09T09:11:56Z |
--- In Firebird-Java@y..., "fer9113002" <ferfdz@a...> wrote:
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
> I wish to know what is each parameter in the classThis is example of how to create database:
> FBManager.createDatabase(String, String, String)
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