Subject | jdbc usage: how do I create a new database using a jdbc connection? |
---|---|
Author | A.J. Bonnema |
Post date | 2005-02-08T02:10:47Z |
Hi guys,
I am trying to use jdbc to create a database from a remote client.
However, if I specify no database name, I don't get a connection. If I
specify the databasename I want to create, I get about the same
message. The messages are:
(1) specifying a databasename for a database that does not yet exist
(I want to use "create database 'f:..../caseklad.gdb';")
at org.firebirdsql.gds.GDSException: I/O error for file CreateFile
(open)
"f:/inetpub/wwwroot/NTWPracticumNet/Najaar/propedeuse/NP45/databases/casusklad.gdb"
(2) Message if I omit the filename (hostname is fake):
at org.firebirdsql.gds.GDSException: I/O error for file open
"www.hostname.nl"
Error while trying to open file
null
Does anyone know how to create a connection with the purpose of
creating a database?
Guus Bonnema.
I am trying to use jdbc to create a database from a remote client.
However, if I specify no database name, I don't get a connection. If I
specify the databasename I want to create, I get about the same
message. The messages are:
(1) specifying a databasename for a database that does not yet exist
(I want to use "create database 'f:..../caseklad.gdb';")
at org.firebirdsql.gds.GDSException: I/O error for file CreateFile
(open)
"f:/inetpub/wwwroot/NTWPracticumNet/Najaar/propedeuse/NP45/databases/casusklad.gdb"
(2) Message if I omit the filename (hostname is fake):
at org.firebirdsql.gds.GDSException: I/O error for file open
"www.hostname.nl"
Error while trying to open file
null
Does anyone know how to create a connection with the purpose of
creating a database?
Guus Bonnema.