Namespaces from driver, not set
Better call absolute namespace triagens\ArangoDb\ConnectionOptions and add OPTION_AUTH_USER , OPTION_AUTH_PASSWD for authorization database
This commit is contained in:
parent
aa4b83ee58
commit
69f3cae54a
|
@ -38,8 +38,10 @@ return [
|
|||
'arangodb' => [
|
||||
'class' => '\devgroup\arangodb\Connection',
|
||||
'connectionOptions' => [
|
||||
ArangoConnectionOptions::OPTION_DATABASE => "mydatabase",
|
||||
ArangoConnectionOptions::OPTION_ENDPOINT => 'tcp://127.0.0.1:8529',
|
||||
triagens\ArangoDb\ConnectionOptions::OPTION_DATABASE => "mydatabase",
|
||||
triagens\ArangoDb\ConnectionOptions::OPTION_ENDPOINT => 'tcp://127.0.0.1:8529',
|
||||
//triagens\ArangoDb\ConnectionOptions::OPTION_AUTH_USER => '',
|
||||
//triagens\ArangoDb\ConnectionOptions::OPTION_AUTH_PASSWD => '',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue