mng for database