是否可以在 PhpOrient 中使用 运行 IMPORT DATABASE 命令?
Is it possible to run IMPORT DATABASE command in PhpOrient?
连接正常,我选择了数据库。
$client->dbOpen('dbName');
一切正常,直到我尝试 运行 命令:
$client->command('IMPORT DATABASE /path/to/file/export.gz');
当我得到这个异常时:
Message: com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.IMPORT DATABASE /path/to/file/export.gz -preserveClusterIDs=true DB name="dbname"
如果命令command
不正确,那么可以用什么代替?
https://github.com/orientechnologies/PhpOrient/issues/15
还不可能(2017 年 1 月 22 日)。
连接正常,我选择了数据库。
$client->dbOpen('dbName');
一切正常,直到我尝试 运行 命令:
$client->command('IMPORT DATABASE /path/to/file/export.gz');
当我得到这个异常时:
Message: com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.IMPORT DATABASE /path/to/file/export.gz -preserveClusterIDs=true DB name="dbname"
如果命令command
不正确,那么可以用什么代替?
https://github.com/orientechnologies/PhpOrient/issues/15
还不可能(2017 年 1 月 22 日)。