Subject | Re: [firebird-support] jdbc usage: how do I create a new database using a jdbc connection? |
---|---|
Author | A.J. Bonnema |
Post date | 2005-02-10T03:17:20Z |
Ann W. Harrison wrote:
exist, because I want to create it from jdbc. I have tried using the new
filename (as shown above) and also just referring to the directory it
should be in, and only referring to the hostname, omitting the database
name. All are not accepted by jdbc.
I wonder whether jdbc can create new database when none has been created
by isql.
Guus.
--
A.J. Bonnema, Leiden The Netherlands,
user #328198 (Linux Counter http://counter.li.org)
>A.J. Bonnema wrote:Ok, Thanks, I will direct my questions there.
>
>
>>I am trying to use jdbc to create a database from a remote client.
>>
>>
>
>You might get better answers on the JDBC list
>firebird-java@yahoogroups.com.
>
>
> The messages are:That seems to be alright. The problem is that the file does not yet
>
>
>>(1) specifying a databasename for a database that does not yet exist
>>(I want to use "create database 'f:..../caseklad.gdb';")
>>
>>
>
>That should be the right syntax, assuming you replace .... with a
>reasonable path.
>
>
>
exist, because I want to create it from jdbc. I have tried using the new
filename (as shown above) and also just referring to the directory it
should be in, and only referring to the hostname, omitting the database
name. All are not accepted by jdbc.
I wonder whether jdbc can create new database when none has been created
by isql.
Guus.
--
A.J. Bonnema, Leiden The Netherlands,
user #328198 (Linux Counter http://counter.li.org)