fix(database): Fix erroneous database's name variable (refs #5189)
Merge pull request #1362 from eguaj/3.2-A5189

fix(database): Fix erroneous database's name variable (fixes #5189)