acc: parse db_extra before initializing db

Fixes commit aa6f64

(cherry picked from commit 33c9d48b5933aaadfe0231e4c88a746e30bbb7e7)