Subject | Re: how to create database using command line without an interactive isql |
---|---|
Author | Petr Jakes |
Post date | 2008-02-07T16:08:11Z |
> I don't know what it 'wants', but I tested the command on my LinuxTanks a lot, Milan.
> 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?
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