I have an issue in Restore my backup error code1698

I am trying to restore my backup(I have unzip the database file and set my root for mysql ) but I get access denied root@localhost

please help me understand this issue


It may help to say how the backup was made and what command is being tried to restore it. The error message suggests a permissions problem. Have you been able to restore backups before?

Thank you I have solved
bench --site {site} restore {path/to/database/file}
–mariadb-root-username {db-user}
–mariadb-root-password {db-pass}