write database config to xml