ACCESS on database 'neo4j' is not allowed for user

neo4j/graphql, neo4j-driver, apollo/server

In ApolloServer with neo4j i created 4 database and create 4 users i created role to grant specific users .

// In driver am specify the dbane
const neo4j_driver = neo4j.driver(uri, neo4j.auth.basic(user, password), {
database: 'mydb', // Specify your database name here
});

	// Assign the schema here 
	const server = new ApolloServer({
    schema,

Set the user home db to mydb

On running the query its referring the ACCESS on database 'neo4j' is not allowed for user but am not referring the neo4j as am have to accesses only mydb

Getting error as "ACCESS on database 'neo4j' is not allowed for user myuser

Hi learntechi82,

It seems that you're having some problems with your user credentials. Specifically, it seems that your username and password combination are incorrect. Without having all the details of your implementation it's difficult to give more specific advice.

I recommend following the getting started guide: Getting started - Neo4j GraphQL Library