When you create an AuraDB Instance in the Neo4j Aura console, you can either use the default secured generated password (unrecoverable) or set a password yourself at that time.
If you want to change that default password later you have the following options:
- Log into your Neo4j Aura console and open the browser (Neo4j Browser) using the Query button to the right of the AuraDB Instance.
Note: Alternatively you could also use the Neo4j Desktop connected to your AuraDB instance
- In the browser’s command prompt at the top of the window, type the following command:
- Change your password on the graphical prompt:
Note: Use Generate to get a password that is strong. This will appear in clear and cannot be retrieved so store it safely
- Launch a Cypher input tool, this can be any of the following:
- Neo4j Aura console
- Neo4j Desktop
- Cypher shell
- Run the following Cypher command (this will not seek confirmation on what you set the new password:
For Aura 3 version:
For Aura 4 version:
ALTER CURRENT USER SET PASSWORD FROM 'my-current-password' TO 'my-new-password';
Note that for cypher-shell you can invoke the command with the option `-d system` to avoid calling the procedure `:use system` and therefore reach the stage to issue the cypher statement.