fix password and inseart sql into resources