Subject | Re: Create DB with C API |
---|---|
Author | mariuz |
Post date | 2012-10-09T09:15:28Z |
--- In firebird-support@yahoogroups.com, Christian Mölders <cm@...> wrote:
https://github.com/asfernandes/firebird/tree/master/examples
Note that the following environment variables need to be set before running
the examples:
ISC_USER - A valid username on the server.
ISC_PASSWORD - The password for the above user.
ISC_USER=user ISC_PASSWORD=password ./api1
>from the readme
> Hello guys,
>
> is everyone using the C API with Firebird 2.5?
> I have just compiled the first example "api1.c", which should create an
> empty database but it does not.
>
> It returns always:
>
> [
> PROBLEM ON "create database".
> Your user name and password are not defined. Ask your database
> administrator to set up a Firebird login.
> SQLCODE:-902
> ]
https://github.com/asfernandes/firebird/tree/master/examples
Note that the following environment variables need to be set before running
the examples:
ISC_USER - A valid username on the server.
ISC_PASSWORD - The password for the above user.
ISC_USER=user ISC_PASSWORD=password ./api1