Subject Re: [firebird-support] CREATE DATABASE
Author Paul Vinkenoog
Hello,

> I am trying to create a new database using Firebird 2.0 within
> Visual Basic code using ADO. I have no trouble doing that if there
> is an existing database to which I can connect.

Whether you can create a database or not does not depend on the
availability of an existing database.

> Other RDBMS provide a system database that provides an initial point
> of connection and validation. When I attempt to connect to the
> security2.fdb the ODBC Providers states: 'no permission for direct
> access to security database C:\...'

> My questions is can I connect to the security2.fdb to verify my
> right to create a database?

No, in 2.0 you can't make a direct connection to the security database
anymore. Try to connect to the example database employee.fdb, which is
in the examples/empbuild subdir of the Firebird installation folder.

For more details about the security database, consult the Firebird 2
Release Notes. For connection/creation examples, look in Quick Start
Guide. Both are included in the Firebird 2 download kits; or pick them
up here: http://www.firebirdsql.org/index.php?op=doc


Hope this helps,
Paul Vinkenoog