Sql脚本在3.0.2中运行正常,但在orientdb 3.0.3中却没有运行(使用console.sh)

时间:2018-07-11 20:07:58

标签: orientdb

使用orientdb 3.0.2,我可以使用console.sh很好地运行此脚本:

connect remote:localhost/mydatabase root mypassword;
script sql
begin;
INSERT INTO ....blah blah blah...
commit;
end

但是,对于Orient 3.0.3,它只是无法运行。我收到此错误:“开始”意外。我将重新使用orientdb 3.0.2。

在3.0.3中也许有一种新的脚本编写方式?

1 个答案:

答案 0 :(得分:0)

script sql之后缺少分号:

connect remote:localhost/mydatabase root mypassword;
script sql;
begin;
INSERT INTO ... ;
commit;
end