create db with options from command line
Thursday, 8 November 2018 · 4 messages
GD
Günter Dunz-Wolff8 Nov 2018 16:58 #
Hi all,
I just set up my first basex-Server on DigitalOcean. So far, everything is working, but I have no experience, how I could create db with options on the command line, I always did it with the GUI.
So how is the syntax for
CREATE DB xxx /path
with Options
- CHOP no
- Indices for Text, Attributes and Tokens
- Fulltext-Index with Language German, Case Sensitive and Diacritics
Thanks for any help.
Guenter
CG
Christian Grün8 Nov 2018 17:19 #
Hi Günter,
You can enable the INFO view in the GUI. If you create a database after that, all relevant commands will be listed in that view.
Cheers
Christian
Quoted text · Günter Dunz-Wolff · 16 lines
On Thu, Nov 8, 2018 at 4:59 PM Günter Dunz-Wolff <guenter.dunzwolff at gmail.com> wrote: > > Hi all, > I just set up my first basex-Server on DigitalOcean. So far, everything is working, but I have no experience, how I could create db with options on the command line, I always did it with the GUI. > > So how is the syntax for > CREATE DB xxx /path > with Options > - CHOP no > - Indices for Text, Attributes and Tokens > - Fulltext-Index with Language German, Case Sensitive and Diacritics > > Thanks for any help. > Guenter >
GD
Günter Dunz-Wolff8 Nov 2018 17:27 #
Hi Christian,
thanks a lot. Works great. Is there a way to put the commands in one line?
Cheers
Guenter
Quoted text · Christian Grün · 27 lines
> Am 08.11.2018 um 17:19 schrieb Christian Grün <christian.gruen at gmail.com>: > > Hi Günter, > > You can enable the INFO view in the GUI. If you create a database > after that, all relevant commands will be listed in that view. > > Cheers > Christian > > > On Thu, Nov 8, 2018 at 4:59 PM Günter Dunz-Wolff > <guenter.dunzwolff at gmail.com> wrote: >> >> Hi all, >> I just set up my first basex-Server on DigitalOcean. So far, everything is working, but I have no experience, how I could create db with options on the command line, I always did it with the GUI. >> >> So how is the syntax for >> CREATE DB xxx /path >> with Options >> - CHOP no >> - Indices for Text, Attributes and Tokens >> - Fulltext-Index with Language German, Case Sensitive and Diacritics >> >> Thanks for any help. >> Guenter >>
GD
Günter Dunz-Wolff8 Nov 2018 17:40 #
I’ve found it in the docs: separate Commands with Semicolon. Thanks again for your help.
Cheers Guenter
Quoted text · Günter Dunz-Wolff · 37 lines
> Am 08.11.2018 um 17:27 schrieb Günter Dunz-Wolff <guenter.dunzwolff at gmail.com>: > > Hi Christian, > > thanks a lot. Works great. Is there a way to put the commands in one line? > > Cheers > Guenter > >> Am 08.11.2018 um 17:19 schrieb Christian Grün <christian.gruen at gmail.com>: >> >> Hi Günter, >> >> You can enable the INFO view in the GUI. If you create a database >> after that, all relevant commands will be listed in that view. >> >> Cheers >> Christian >> >> >> On Thu, Nov 8, 2018 at 4:59 PM Günter Dunz-Wolff >> <guenter.dunzwolff at gmail.com> wrote: >>> >>> Hi all, >>> I just set up my first basex-Server on DigitalOcean. So far, everything is working, but I have no experience, how I could create db with options on the command line, I always did it with the GUI. >>> >>> So how is the syntax for >>> CREATE DB xxx /path >>> with Options >>> - CHOP no >>> - Indices for Text, Attributes and Tokens >>> - Fulltext-Index with Language German, Case Sensitive and Diacritics >>> >>> Thanks for any help. >>> Guenter >>> >
Written for BaseX 9.1. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery