I can't connect neo4j with php

I tried to connect to the neo4j database using PHP and I could not do it. what am I doing wrong? Here the error:

Fatal error : Uncaught GraphAware\Bolt\Exception\MessageFailureException: Neo4j Exception "The client is unauthorized due to authentication failure." with code "Neo.ClientError.Security.Unauthorized" in C:\xampp\htdocs\bd2\vendor\graphaware\neo4j-bolt\src\Protocol\V1\Session.php:263 Stack trace: #0 C:\xampp\htdocs\bd2\vendor\graphaware\neo4j-bolt\src\Protocol\V1\Session.php(229): GraphAware\Bolt\Protocol\V1\Session->receiveMessageInit() #1 C:\xampp\htdocs\bd2\vendor\graphaware\neo4j-bolt\src\Protocol\V1\Session.php(59): GraphAware\Bolt\Protocol\V1\Session->init() #2 C:\xampp\htdocs\bd2\vendor\graphaware\neo4j-bolt\src\Protocol\SessionRegistry.php(92): GraphAware\Bolt\Protocol\V1\Session->__construct(Object(GraphAware\Bolt\IO\StreamSocket), Object(Symfony\Component\EventDispatcher\EventDispatcher), Array) #3 C:\xampp\htdocs\bd2\vendor\graphaware\neo4j-bolt\src\Driver.php(118): GraphAware\Bolt\Protocol\SessionRegistry->getSession(1, Array) #4 C:\xampp\htdocs\bd2\vendor\graphaware\neo4j-php-client\src\Connection\Connection.ph in C:\xampp\htdocs\bd2\vendor\graphaware\neo4j-bolt\src\Protocol\V1\Session.php on line 263

and here the php connection code:

<?php

//require_once 'vendor/autoload.php';

require_once __DIR__ .'/vendor/autoload.php';

$client = \GraphAware\Neo4j\Client\ClientBuilder::create()
    ->addConnection('default', 'bolt://neo4j:pass@localhost:7687')
    ->build();

$query = 'MATCH (user:User {name:"john"})
CREATE (friend:User {name:"Judith"})
MERGE (user)-[r:FRIEND]->(friend)
RETURN user, friend, r';

$result = $client->sendCypherQuery($query)->getResult();

$john = $result->get('user');
$judith = $result->get('judith');

// What john has for relationships

print_r($john->getRelationships()); // returns relationships objects

// Get a node connected to john

print_r($john->getConnectedNode());

Is "pass" the correct password for the user, neo4j?

Elaine

You're right, 'pass' is not my password. set the correct values ​​and connect with neo4j perfectly well. Thank you for your help and sorry for the delay in my response.:laughing: