[master][~/parity/target/release]$ ./parity import /tmp/avatar.rlp

Error Output: Database was created with newer client version. Upgrade your client or delete DB and resync.

I could not understand: [Q]How could I delete the DB or resync it?, I couldn't find where the DB is stored?

Thank you for your valuable time.


Check ~/.parity

Don't forget to backup your ~/.parity/keys

| improve this answer | |
  • => Could I clean complete "~/.parity" folder? – alper Oct 11 '16 at 4:54
  • Yeah, backup keys if you need them – Igor Barinov Oct 11 '16 at 5:01

Parity developer @5chdn said to use:

parity --light db kill
| improve this answer | |

To be precise:

parity db kill —config /path/to/your/toml file

This helps if you have multiple chains or private chains.

| improve this answer | |

The database location seems to have moved since Igor's answer.

I found it at:


Close parity before deleting this directory.

| improve this answer | |
parity db kill

is nothing, it cannot remove the db data, just remove '.local/share/io.parity.ethereum/chains/ethereum/db/906a34e69aec8c0d', it will clean the world

| improve this answer | |

And you have to delete the user_default file also.If its still there after deleting this db folder still there will be the same error

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.