mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Transfer sqlite to mariadb #813
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gkl1368 on GitHub (Sep 25, 2020).
When I restore database dump to mariadb, it shows Duplicate entry '{email}' for key 'email'
@BlackDex commented on GitHub (Sep 25, 2020):
Have you check the steps in: https://github.com/dani-garcia/bitwarden_rs/wiki/Using-the-MySQL-Backend ?
It explains what you need to do to get this working.
@gkl1368 commented on GitHub (Sep 25, 2020):
But after that I can't login. It shows Username or password is incorrect. Try again
And I use Navicat to transfer database Users, It show Duplicate entry '{email}' for key 'email'
@BlackDex commented on GitHub (Sep 25, 2020):
All you need to do is create the dump like in the wiki article. Follow every other step there except the import. Now use that mysqldump.sql in your database manager as the import file, but make sure all tables, except __diesel_migraties before you do thr import
@gkl1368 commented on GitHub (Sep 25, 2020):
Resolve. LDAP sync auto add email to user table.