Subject Re: how to create database using command line without an interactive isql
Author Petr Jakes
> I don't know what it 'wants', but I tested the command on my Linux
> system before sending the message.And it does work with single quotes
>
> Did you test? Does it fail on your system? If it does fail,could you
> please tell us which version of Firebird is that?

Tanks a lot, Milan.

That is exactly what I was looking for. Both "one-liners" below are
working on my system (Ubuntu 7.04 / ISQL Version: LI-V2.0.3.12981
Firebird 2.0)

echo "CREATE DATABASE '/work/work.gdb' PAGE_SIZE 4096 ;" |
/opt/firebird/bin/isql -q -user 'sysdba' -password 'masterkey'

echo "CREATE DATABASE '/work/work.gdb' PAGE_SIZE 4096 USER 'sysdba'
PASSWORD 'masterkey' ;" | /opt/firebird/bin/isql -q

Regards

Petr Jakes