AMBARI-2331. Ambari Database setup process needs cleanup. (Myroslav Papirkovskyy via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/branch-1.2.4@1491057 13f79535-47bb-0310-9956-ffa450edef68