Restore database Fail

hello
I can’t restore dolibarr database after reinstallation and i have this message bellow : ERROR 1005 (HY000) at line 25: Can’t create table dolibarr.llx_accounting_account (errno: 150 “Foreign key constraint is incorrectly formed”).
Please help me.

BR.

Hi,

Please have a look at
https://wiki.dolibarr.org/index.php/Restores
and how to disable foreign_key_checks as well as the troubleshooting paragraph.

Regards,
Marc