连接工作正常,我选择了数据库。
$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日)。