Fix create object MySqlDatabase in DatabaseMgr