Subject Re: Create DB with C API
Author mariuz
--- In firebird-support@yahoogroups.com, Christian Mölders <cm@...> wrote:
>
> 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
> ]
from the readme
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