Passing database as an argument (host, db, user, pw)