Hi,
Seems a Windows problem, maybe the : ? I tried this on my Mac and works:

$ ./console.sh create.sql

OrientDB console v.1.7-SNAPSHOT (build 1703) www.orientechnologies.com
Type 'help' to display all the commands supported.
Installing extensions for GREMLIN language v.2.5.0

orientdb> create database plocal:/temp/databases/myDB admin admin plocal

Creating database [plocal:/temp/databases/myDB] using the storage type
[plocal]...
Database created successfully.

Current database is: plocal:/temp/databases/myDB
orientdb {myDB}> create class foo extends V

Class created successfully. Total classes in database now: 11

orientdb {myDB}> create property foo.m_id string

Property created successfully with id=1

May you try with relative path?

Lvc@



On 6 May 2014 12:35, Marc Tigges <[email protected]> wrote:

> Hello,
>
> im trying to write sql scripts to create a database and fill in some samle
> data:
>
> create database plocal:D:/orientdb/databases/myDB admin admin plocal;
>
> create class foo extends V;
> create property foo.m_id string;
> create index on foo (m_id) FULLTEXT_HASH_INDEX;
>
> And just get the error:
>
> Unrecognized command: 'create database
> plocal:D:/Freebase/orientdb/databases/freebaseDB admin admin plocal'
>
> when running:
>
> console.bat create.sql
>
> in my orientdb/bin folder.
>
> Refering to this post: 
> Console-Command-Create-Db<https://github.com/orientechnologies/orientdb/wiki/Console-Command-Create-Db>
>  the
> command should be ok.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to