Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Unable to run administration commands on leader #288

@LucaPericoIT

Description

@LucaPericoIT

Using cypher-shell to connect to a neo4j cluster, I am unable to execute administration commands even if I am connected to the leader

cypher-shell -a neo4j+ssc://**** -u neo4j -p ****

neo4j@neo4j> CALL dbms.cluster.role("neo4j");
+----------+
| role     |
+----------+
| "LEADER" |
+----------+
1 row available after 4 ms, consumed after another 1 ms
neo4j@neo4j> CREATE DATABASE database1;
Failed to create the specified database 'database1': Administration commands must be executed on the LEADER server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions