I am trying to change the default user password for the database. I tried this:
$ curl -H "Content-Type: application/json" \ -X POST \ -d '{"password":"password"}' \ -u neo4j:neo4j \ http://localhost:7474/user/neo4j/password"
but this does not allow me and gave me this error:
Invalid input 'u': expected 'r / R' or 'a / A' (row 1, column 2 (offset: 1)) "curl -H" Content-Type: application / json "-X POST -d '{ "password": "qazWSXEDCRFV! 1 "} '-u neo4j: neo4j http: // localhost: 7474 / user / neo4j / password " "^
How to fix this problem?
curl -H "Content-Type: application/json" -XPOST -d '{"password":"new password"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password
just worked for me (Neo4j 3.0.x)
Source: https://habr.com/ru/post/1668175/More articles:Get Radiobutton value using JS - javascriptIt is not possible to resize a table cell correctly if it contains a scrollable preview - htmlAngularJs Передача данных с использованием компонента ввода - javascriptregistration failed due to old version - YOWSUP - yowsupHow to write a rule to prevent removal of a node from a database - firebase-databaseTCP transitions do not show the expected result in data transfer rate - performanceIs declaring a string literal with a pointer more memory efficient than declaring a persistent array? - cAdding a few extra columns using Yii2 migration - phpMemory profiling of a running python application - pythonhow to split a numpy array and perform certain actions on split arrays [Python] - pythonAll Articles