Subject | Re: FBManager.createDatabase |
---|---|
Author | robert_difalco |
Post date | 2003-05-28T19:23:08Z |
Is there a way to set the default character set?
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@y...> wrote:
--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@y...> wrote:
> --- 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